<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hikoukii</author_name>
  <author_url>https://blog.hatena.ne.jp/hikoukii/</author_url>
  <blog_title>hikoukiのブログ</blog_title>
  <blog_url>https://hikouki.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>grpc-gatewayはデフォルトで、一般的なHeaderの値を、Metadataに入れてリクエストを中継します。 ただ、Cookieの値は使わない場合もあるし、 ユーザーに見えるkeyよりも、もっと意味持たせたkeyをMetadataに入れたいとかある。 そんな時は、mux作るときに、ServeMuxOptionを渡してあげれば良いです。 func run() error { ctx := context.Background() ctx, cancel := context.WithCancel(ctx) defer cancel() mux := runtime.NewServeMux…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhikouki.hateblo.jp%2Fentry%2F2018%2F01%2F24%2F182317&quot; title=&quot;grpc-gatewayでCookieをmetadataに設定しない - hikoukiのブログ&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>2018-01-24 18:23:17</published>
  <title>grpc-gatewayでCookieをmetadataに設定しない</title>
  <type>rich</type>
  <url>https://hikouki.hateblo.jp/entry/2018/01/24/182317</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
