<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hkdnet</author_name>
  <author_url>https://blog.hatena.ne.jp/hkdnet/</author_url>
  <blog_title>Smoky God Express</blog_title>
  <blog_url>https://hkdnet.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>each を実装したオブジェクトを body として返してやるといい感じになる。 -&gt; ならないかも。末尾参照（2019-10-28 17:25追記) Streaming::Stream のように each を実装したオブジェクトを call の戻り値に詰めている。 実際のレスポンスをみると Transfer-Encoding: chunked であることがわかる。 またサーバ側のログからも wrapper end のあとに Stream#each が実行されていることがわかる。なので rack middleware 層を突き抜けた先で each が評価されている。 --raw をつけて実際 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhkdnet.hatenablog.com%2Fentry%2F2019%2F10%2F28%2F153034&quot; title=&quot;Rack で transfer-encoding: chunked なレスポンスを返す - Smoky God Express&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>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hkdnet/20191028/20191028172652.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-10-28 15:30:34</published>
  <title>Rack で transfer-encoding: chunked なレスポンスを返す</title>
  <type>rich</type>
  <url>https://hkdnet.hatenablog.com/entry/2019/10/28/153034</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
