<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>CORDEA</author_name>
  <author_url>https://blog.hatena.ne.jp/CORDEA/</author_url>
  <blog_title>CORDEA blog</blog_title>
  <blog_url>https://cordea.hatenadiary.com/</blog_url>
  <categories>
    <anon>Android</anon>
    <anon>Kotlin</anon>
  </categories>
  <description>Kotlin でアプリ書いてる時にちょっと戸惑った OkHttpClient のヘッダーの追加は val httpClient = OkHttpClient.Builder() .addInterceptor { it.proceed(it.request() .newBuilder() .addHeader(&quot;Content-Type&quot;, &quot;application/json&quot;) .build()) } .build() これを Retrofit で使用する場合 Retrofit.Builder() .baseUrl { HttpUrl.parse(url) } .client(httpCli…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcordea.hatenadiary.com%2Fentry%2F2016%2F02%2F24%2F084402&quot; title=&quot;Kotlin + OkHttp3 + Retrofit2 でヘッダの追加とか - CORDEA 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>2016-02-24 08:44:02</published>
  <title>Kotlin + OkHttp3 + Retrofit2 でヘッダの追加とか</title>
  <type>rich</type>
  <url>https://cordea.hatenadiary.com/entry/2016/02/24/084402</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
