<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinkufencer</author_name>
  <author_url>https://blog.hatena.ne.jp/shinkufencer/</author_url>
  <blog_title>コード日進月歩</blog_title>
  <blog_url>https://shinkufencer.hateblo.jp/</blog_url>
  <categories>
    <anon>ざっくりまとめ</anon>
    <anon>経験則</anon>
  </categories>
  <description>認証エラーだから401を返してあげるのがよいのか、悪いのかをざっくりまとめる まとめ 順当に作る場合は認証を終えていないと見れないページはHTTPステータスコードは401（認可における不足の場合は403）のレスポンスコードを返す ただし認証をした人だけ認識できるページの場合は認証できないときのエラーのHTTPステータスコードは404とする場合もある ページとして存在することを認知されたくない場合がこれに該当する そもそもHTTPステータスコードの403/401と404とは ざっくり表現すると404はリソースが存在しないことを示し、403/401はリソースへのアクセスを行うことができない旨を示す…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2022%2F05%2F07%2F000000&quot; title=&quot;認証が必要なページにおける403/401と404の使い分けに関してざっくりまとめる - コード日進月歩&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>2022-05-07 00:00:00</published>
  <title>認証が必要なページにおける403/401と404の使い分けに関してざっくりまとめる</title>
  <type>rich</type>
  <url>https://shinkufencer.hateblo.jp/entry/2022/05/07/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
