Where is it used?
Use it to describe response states consistently in API docs, incident reports, server logs, and crawl diagnostics.
เว็บและโปรโตคอล
ข้อมูลอ้างอิงแบบเร็วเพื่อดูความหมายและบริบทการใช้งานของรหัสตอบสนองเว็บ.
Core concept
HTTP status codes are standard signals that browsers, API clients, and search engines use to interpret server responses.
1xx responses are informational, 2xx means success, 3xx means redirection, 4xx indicates client-side/request-side issues, and 5xx indicates server-side problems. Reading the first digit narrows the cause and next action quickly.
Operationally similar error pages can mean very different things. 404 means a resource was not found, 410 means it is gone, 429 means requests are rate limited, and 500 means an internal server error occurred.
For SEO, redirects and removal signals matter most. 301/308 indicate long-term moves, 302/307 temporary moves, and 404/410 can affect indexing and recrawl decisions.
Use it to describe response states consistently in API docs, incident reports, server logs, and crawl diagnostics.
Start with the leading digit, then check the individual code, usage timing, and related codes.
Redirect, removal, access-limit, and server-error signals influence how search engines keep or revisit URLs.
Each row combines code, reason phrase, status class, operational meaning, and RFC/IANA reference.
This reference helps operational diagnosis; actual server behavior still depends on application routing and cache layers.
ตาราง
| 100 | Continue | 1xx | เซิร์ฟเวอร์ได้รับ header ของคำขอแล้ว และไคลเอนต์สามารถส่ง body ของคำขอต่อได้ | RFC 9110 |
| 101 | Switching Protocols | 1xx | เซิร์ฟเวอร์ยอมรับการสลับโปรโตคอลที่ไคลเอนต์ร้องขอ | RFC 9110 |
| 102 | Processing | 1xx | ได้รับคำขอแล้วและยังประมวลผลอยู่ แต่การตอบกลับสุดท้ายยังไม่พร้อม | RFC 2518 |
| 103 | Early Hints | 1xx | เซิร์ฟเวอร์ส่ง hint เช่นลิงก์ preload ก่อนการตอบกลับสุดท้าย เพื่อให้เบราว์เซอร์เริ่มเตรียมทรัพยากรได้เร็วขึ้น | RFC 8297 |
| 104 | Upload Resumption Supported | 1xx | รหัสสถานะที่ลงทะเบียนชั่วคราวเพื่อบอกว่ารองรับการกลับมาอัปโหลดต่อ | IANA temporary registration |
| 200 | OK | 2xx | คำขอสำเร็จ และ body ของการตอบกลับมีผลลัพธ์อยู่ | RFC 9110 |
| 201 | Created | 2xx | คำขอสำเร็จและมีการสร้างทรัพยากรใหม่แล้ว | RFC 9110 |
| 202 | Accepted | 2xx | คำขอถูกรับไว้แล้ว แต่การประมวลผลยังไม่เสร็จ | RFC 9110 |
| 203 | Non-Authoritative Information | 2xx | พร็อกซีหรือชั้นแปลงข้อมูลได้แก้ไขและส่งต่อการตอบกลับ 200 จาก origin server | RFC 9110 |
| 204 | No Content | 2xx | คำขอสำเร็จ แต่การตอบกลับไม่มี body | RFC 9110 |
| 205 | Reset Content | 2xx | คำขอสำเร็จ และไคลเอนต์สามารถรีเซ็ตมุมมอง input ได้ | RFC 9110 |
| 206 | Partial Content | 2xx | ส่งกลับเฉพาะบางส่วนของทรัพยากรตามคำขอ Range | RFC 9110 |
| 207 | Multi-Status | 2xx | การตอบกลับ WebDAV ที่รวมสถานะของหลาย sub-operation ไว้ในคำขอเดียว | RFC 4918 |
| 208 | Already Reported | 2xx | บอกว่าทรัพยากร binding ของ WebDAV ถูกรายงานไปแล้วและไม่ถูกทำซ้ำ | RFC 5842 |
| 226 | IM Used | 2xx | เซิร์ฟเวอร์ส่งผลลัพธ์หลังใช้ instance manipulation (IM) | RFC 3229 |
| 300 | Multiple Choices | 3xx | ทรัพยากรที่ร้องขอมี representation หรือตัวเลือกได้หลายแบบ | RFC 9110 |
| 301 | Moved Permanently | 3xx | ทรัพยากรถูกย้ายไป URL ใหม่อย่างถาวร | RFC 9110 |
| 302 | Found | 3xx | ทรัพยากรมีให้ใช้งานชั่วคราวที่ URL อื่น | RFC 9110 |
| 303 | See Other | 3xx | ควรดึงผลลัพธ์ของคำขอด้วย GET จาก URL อื่น | RFC 9110 |
| 304 | Not Modified | 3xx | คำขอแบบมีเงื่อนไขพบว่าทรัพยากรไม่เปลี่ยนแปลง จึงใช้สำเนาจาก cache ได้ | RFC 9110 |
| 305 | Use Proxy | 3xx | รหัสสถานะเก่าที่สั่งให้ไคลเอนต์ใช้พร็อกซี ปัจจุบัน deprecated ด้วยเหตุผลด้านความปลอดภัย | RFC 9110 |
| 306 | Unused | 3xx | รหัสสถานะที่เคยกำหนดไว้ในอดีต แต่ปัจจุบันถูกสำรองไว้และไม่ได้ใช้งาน | RFC 9110 |
| 307 | Temporary Redirect | 3xx | การ redirect ชั่วคราวที่ต้องคง request method และ body ไว้ | RFC 9110 |
| 308 | Permanent Redirect | 3xx | การ redirect ถาวรที่ต้องคง request method และ body ไว้ | RFC 9110 |
| 400 | Bad Request | 4xx | เซิร์ฟเวอร์ไม่สามารถประมวลผลคำขอได้ เพราะ syntax, parameter, header หรือ body ไม่ถูกต้อง | RFC 9110 |
| 401 | Unauthorized | 4xx | ต้องยืนยันตัวตน หรือ credentials ที่ส่งมาไม่ถูกต้อง | RFC 9110 |
| 402 | Payment Required | 4xx | สงวนไว้สำหรับกรณีที่ต้องชำระเงิน แต่ความหมายมาตรฐานยังไม่ได้ใช้แพร่หลาย | RFC 9110 |
| 403 | Forbidden | 4xx | เซิร์ฟเวอร์เข้าใจคำขอ แต่ปฏิเสธไม่ให้เข้าถึง | RFC 9110 |
| 404 | Not Found | 4xx | ไม่พบทรัพยากรที่ร้องขอ หรือเซิร์ฟเวอร์ไม่เปิดเผยว่าทรัพยากรนั้นมีอยู่หรือไม่ | RFC 9110 |
| 405 | Method Not Allowed | 4xx | ทรัพยากรมีอยู่ แต่ HTTP method ที่ร้องขอไม่ได้รับอนุญาต | RFC 9110 |
| 406 | Not Acceptable | 4xx | เซิร์ฟเวอร์ไม่สามารถให้ representation ที่ตรงกับ header Accept ของไคลเอนต์ได้ | RFC 9110 |
| 407 | Proxy Authentication Required | 4xx | ต้องยืนยันตัวตนก่อนที่ไคลเอนต์จะใช้พร็อกซีได้ | RFC 9110 |
| 408 | Request Timeout | 4xx | เซิร์ฟเวอร์ไม่ได้รับคำขอจากไคลเอนต์ครบถ้วนภายในเวลาที่พร้อมจะรอ | RFC 9110 |
| 409 | Conflict | 4xx | คำขอขัดแย้งกับสถานะปัจจุบันของทรัพยากร | RFC 9110 |
| 410 | Gone | 4xx | ทรัพยากรเคยมีอยู่ในอดีต แต่ถูกนำออกอย่างถาวรแล้ว | RFC 9110 |
| 411 | Length Required | 4xx | เซิร์ฟเวอร์ปฏิเสธคำขอเพราะไม่มี Content-Length | RFC 9110 |
| 412 | Precondition Failed | 4xx | precondition ในคำขอแบบมีเงื่อนไข เช่น If-Match ล้มเหลว | RFC 9110 |
| 413 | Content Too Large | 4xx | request body มีขนาดใหญ่เกินกว่าที่เซิร์ฟเวอร์พร้อมรับ | RFC 9110 |
| 414 | URI Too Long | 4xx | request URI ยาวเกินกว่าที่เซิร์ฟเวอร์จะประมวลผลได้ | RFC 9110 |
| 415 | Unsupported Media Type | 4xx | เซิร์ฟเวอร์ไม่รองรับ media type ของ request body | RFC 9110 |
| 416 | Range Not Satisfiable | 4xx | ไม่สามารถให้บริการ Range ที่ร้องขอได้ เพราะไม่พอดีกับขนาดของทรัพยากร | RFC 9110 |
| 417 | Expectation Failed | 4xx | เซิร์ฟเวอร์ไม่สามารถทำตาม expectation ที่ระบุใน header Expect ได้ | RFC 9110 |
| 418 | I'm a teapot | 4xx | รหัสที่มาจาก RFC วัน April Fools' มีความหมายเชิงประวัติศาสตร์และวัฒนธรรมมากกว่าการจัดการข้อผิดพลาดจริง | RFC 2324 / RFC 9110 |
| 421 | Misdirected Request | 4xx | คำขอถูกส่งไปยังเซิร์ฟเวอร์ที่ไม่สามารถสร้างการตอบกลับสำหรับคำขอนั้นได้ | RFC 9110 |
| 422 | Unprocessable Content | 4xx | syntax ของคำขอถูกต้อง แต่เนื้อหามีความหมายที่ประมวลผลไม่ได้ | RFC 9110 |
| 423 | Locked | 4xx | ทรัพยากรเป้าหมายถูก lock อยู่ จึงประมวลผลคำขอไม่ได้ | RFC 4918 |
| 424 | Failed Dependency | 4xx | คำขอปัจจุบันทำไม่ได้ เพราะ operation ก่อนหน้าที่ต้องพึ่งพาล้มเหลว | RFC 4918 |
| 425 | Too Early | 4xx | เซิร์ฟเวอร์ปฏิเสธการประมวลผลคำขอที่อาจมาเร็วเกินไปและเสี่ยงต่อการ replay | RFC 8470 |
| 426 | Upgrade Required | 4xx | เซิร์ฟเวอร์ต้องการให้ไคลเอนต์อัปเกรดโปรโตคอลก่อนจึงจะจัดการคำขอ | RFC 9110 |
| 428 | Precondition Required | 4xx | เซิร์ฟเวอร์ต้องการ header คำขอแบบมีเงื่อนไข | RFC 6585 |
| 429 | Too Many Requests | 4xx | ไคลเอนต์ส่งคำขอมากเกินไปภายในช่วงเวลาที่กำหนด | RFC 6585 |
| 431 | Request Header Fields Too Large | 4xx | header ของคำขอโดยรวมหรือ field header บางตัวมีขนาดใหญ่เกินไป | RFC 6585 |
| 451 | Unavailable For Legal Reasons | 4xx | ไม่สามารถให้บริการทรัพยากรได้ด้วยเหตุผลทางกฎหมาย | RFC 7725 |
| 500 | Internal Server Error | 5xx | ข้อผิดพลาดทั่วไปของเซิร์ฟเวอร์ที่บอกว่าคำขอจัดการไม่ได้เพราะความล้มเหลวภายใน | RFC 9110 |
| 501 | Not Implemented | 5xx | เซิร์ฟเวอร์ไม่รองรับความสามารถที่จำเป็นต่อการจัดการคำขอ | RFC 9110 |
| 502 | Bad Gateway | 5xx | gateway หรือพร็อกซีได้รับการตอบกลับที่ไม่ถูกต้องจาก upstream server | RFC 9110 |
| 503 | Service Unavailable | 5xx | เซิร์ฟเวอร์ไม่สามารถจัดการคำขอได้ชั่วคราว | RFC 9110 |
| 504 | Gateway Timeout | 5xx | gateway หรือพร็อกซีไม่ได้รับการตอบกลับจาก upstream server ภายในเวลาที่เหมาะสม | RFC 9110 |
| 505 | HTTP Version Not Supported | 5xx | เซิร์ฟเวอร์ไม่รองรับเวอร์ชัน HTTP ที่ใช้ในคำขอ | RFC 9110 |
| 506 | Variant Also Negotiates | 5xx | ข้อผิดพลาดการตั้งค่า transparent content negotiation ทำให้เกิด negotiation loop ภายใน | RFC 2295 |
| 507 | Insufficient Storage | 5xx | เซิร์ฟเวอร์จัดสรรพื้นที่เก็บข้อมูลที่จำเป็นต่อการทำคำขอให้เสร็จไม่ได้ | RFC 4918 |
| 508 | Loop Detected | 5xx | เซิร์ฟเวอร์พบ loop ไม่สิ้นสุดขณะประมวลผลคำขอ | RFC 5842 |
| 510 | Not Extended | 5xx | ต้องมี extension เพิ่มเติมจึงจะประมวลผลคำขอได้ | RFC 2774 |
| 511 | Network Authentication Required | 5xx | ต้องยืนยันตัวตนเพื่อเข้าถึงเครือข่าย | RFC 6585 |
ไม่มีแถวที่ตรงกับตัวกรองปัจจุบัน