<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xlc</author_name>
  <author_url>https://blog.hatena.ne.jp/xlc/</author_url>
  <blog_title>koba::blog</blog_title>
  <blog_url>https://blog.kobalab.net/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>とある事情から OAuth::Lite::Consumer の gen_auth_header を使う必要が発生した。gen_auth_header は、 my $header = $consumer-&gt;gen_auth_header($method, $url, { realm =&gt; $realm, token =&gt; $token, }); という呼び出し形式でOAuthのAuthorizationヘッダを生成するメソッド。ところが、application/x-www-form-urlencoded なGET/POSTで正しいAuthorizationヘッダを出力してくれないので悩んでいた。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kobalab.net%2Fentry%2F20110314%2F1300112446&quot; title=&quot; OAuth::Lite の gen_auth_header の罠 - koba::blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-03-14 23:20:46</published>
  <title> OAuth::Lite の gen_auth_header の罠</title>
  <type>rich</type>
  <url>https://blog.kobalab.net/entry/20110314/1300112446</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
