勝手にリダイレクトはダメなんだと。
2006 年 11 月 2 日
Comments off
Hypertext Transfer Protocol — HTTP/1.1
the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user
HTTP/1.1でレスポンスコード
- 301 Moved Permanently
- 302 Found
- 307 Temporary Redirect
を受け取ったときにはリダイレクトする前にユーザに確認しないとダメだよというお話。
これでいつ街角でHTTP/1.1のリダイレクトについて質問されても答えられるよママン。
カテゴリー: ネットワーク