https://github.com/blue32a-sandbox/http-redirections
HTTPリダイレクトの動作確認
https://github.com/blue32a-sandbox/http-redirections
Last synced: 3 months ago
JSON representation
HTTPリダイレクトの動作確認
- Host: GitHub
- URL: https://github.com/blue32a-sandbox/http-redirections
- Owner: blue32a-sandbox
- Created: 2022-01-18T10:53:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-08T16:17:54.000Z (almost 3 years ago)
- Last Synced: 2025-01-19T15:38:34.604Z (5 months ago)
- Language: HTML
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# http-redirections
HTTPリダイレクトした時にメソッドはどのように扱われるか。
| ステータスコード | GET | POST |
|:-:|:-:|:-:|
| 300 Multiple Choice | ー | ー |
| 301 Moved Permanently | GETのまま | GETになる |
| 302 Found | GETのまま | GETになる |
| 303 See Other | GETのまま | GETになる |
| 304 Not Modified | ー | ー |
| 307 Temporary Redirect | GETのまま | **POSTのまま** |
| 308 Permanent Redirect | GETのまま | **POSTのまま** |[HTTP のリダイレクト - HTTP | MDN](https://developer.mozilla.org/ja/docs/Web/HTTP/Redirections)