Ch09 Web Publishing and Browsing
HTTP Status Codes (Ch09 Web Publishing)
HTTP response status codes
Numbers returned by a web server to indicate the result of a client’s request (like when you open a webpage). They show whether the request was successful, failed, or needs further action.
They are grouped into five classes:
- Informational responses (100–199) → The request was received and is being processed.
- Successful responses (200–299) → The request was completed.
- Redirection messages (300–399) → The client must take additional action (like follow another URL).
- Client error responses (400–499) → The request has an error from the client side (e.g., page not found).
- Server error responses (500–599) → The server failed to fulfill a valid request.
Top 5 HTTP Status Codes-
| Code | Category | Meaning | क्यों Important |
|---|---|---|---|
| 200 OK | 2xx Success | ✅ Request successful | सबसे common – सब कुछ normal |
| 301 Moved Permanently | 3xx Redirection | 🔄 Permanent URL change | SEO के लिए critical |
| 302 Found/Temporary Redirect | 3xx Redirection | 🔄 Temporary redirect | Common redirect |
| 404 Not Found | 4xx Client Error | ❌ Page/resource नहीं मिला | सबसे ज्यादा देखा जाता websites पर |
| 500 Internal Server Error | 5xx Server Error | ⚠️ Server crash/problem | Developer सबसे डरता |
