0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

HTTPレスポンスステータスコード メモ

Last updated at Posted at 2020-12-27

調べてメモ

HTTPレスポンスステータスコードとは

特定のHTTPリクエストが正常に完了したどうかを示す

Googleの検証ツールでも見ることができる

検証ツールでみてみる

B9D02B9C-AFE0-491E-ADED-9D2D8ACA56F4.jpeg
①…Network
②…それぞれのファイル
③Headersの中にあるStatus Code

大まかな部類

大体の分類でわけていく

100番台

続きの情報があることを伝える。

例)
100 ( Continue )
続きの情報があるのでリクエストして!

200番台

成功
Webサーバがリクエストに処理できたことを伝える。

例)
200 ( OK )
リクエストを無事に処理

300番台

リダイレクト
別のURLへリクエストし直すように要求する。

例)
301 ( Moved Permanently )

400番台

クライアントエラー
クライアントのリクエストに問題があり処理できなかった事を伝える

例)
404 ( Not Found )
指定したURLのデータは存在しない

500番台

サーバエラー
サーバ側に問題があり処理できなかったことを伝える

例)
503 ( Service Unavailable )
サーバの負荷が高くて処理できない

参考記事

https://developer.mozilla.org/ja/docs/Web/HTTP/Status
https://www.infraexpert.com/study/tcpip16.html

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?