<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Craftworks</author_name>
  <author_url>https://blog.hatena.ne.jp/Craftworks/</author_url>
  <blog_title>Craftworks Tech Blog - Branch</blog_title>
  <blog_url>https://craftworks.hatenadiary.org/</blog_url>
  <categories>
    <anon>perl</anon>
    <anon>plack</anon>
    <anon>test</anon>
  </categories>
  <description>先日、WWW::Curl をラッピングした HTTP クライアントなモジュールを書いたのですが、テスト用に HTTP サーバーを用意しないといけないと思いつつ、他の HTTP クライアントがどのようにテストをしているか調べてみたところ、WWW::Curl は、 my $url = $ENV{CURL_TEST_URL} || &quot;http://www.google.com&quot;; などとしていて、LWP は Net::HTTPServer を使っているようでした。ネットワークが繋がっていないとテストが出来ないのもなんですし、Net::HTTPServer 使ってサーバー書くのも面倒臭そうなので、本来…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcraftworks.hatenadiary.org%2Fentry%2F20100819%2F1282237375&quot; title=&quot;Plack::Test で HTTP クライアントのテストを書く方法 - Craftworks Tech Blog - Branch&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>2010-08-19 02:02:55</published>
  <title>Plack::Test で HTTP クライアントのテストを書く方法</title>
  <type>rich</type>
  <url>https://craftworks.hatenadiary.org/entry/20100819/1282237375</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
