<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuroyoro</author_name>
  <author_url>https://blog.hatena.ne.jp/yuroyoro/</author_url>
  <blog_title>( ꒪⌓꒪) ゆるよろ日記</blog_title>
  <blog_url>https://yuroyoro.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>俺得メモ。もう3回くらい同じこと調べたんでいい加減メモ残しておく。 Net::HTTP にset_debug_outputってメソッドがあってコイツに出力先を渡せばいい。残念ながらこのset_debug_outputはドキュメントには載ってないのでnet/httpのソース見てね。 require 'net/http' Net::HTTP.version_1_2 http = Net::HTTP.new(&quot;d.hatena.ne.jp&quot;, 80) http.set_debug_output $stderr http.start{|http| req = Net::HTTP::Get.new('/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuroyoro.hatenablog.com%2Fentry%2F20110516%2F1305524071&quot; title=&quot;Rubyのnet/http でHTTPリクエスト/レスポンスをdumpする方法 - ( ꒪⌓꒪) ゆるよろ日記&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-05-16 14:34:31</published>
  <title>Rubyのnet/http でHTTPリクエスト/レスポンスをdumpする方法</title>
  <type>rich</type>
  <url>https://yuroyoro.hatenablog.com/entry/20110516/1305524071</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
