-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHTTP_notes.txt
75 lines (44 loc) · 1.31 KB
/
HTTP_notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
HTTP Response Codes:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
100: Continue
101: Switching Protocols
102: Processing
200: OK
In response to GET:
The resource has been fetched and transmitted in the message body
In response to HEAD:
The representation headers are included in the response without any message body.
In response to PUT or POST:
The resource describing the result of the action is transmitted in the message body.
In response to TRACE:
The message body contains the request message as received by the server.
201: Created
202: Accepted
204: No Content
Redirection:
300: Multiple Choices
301: Moved Permanently
302: Found
303: See Other
304: Not Modified
307: Temporary Redirect
308: Permanent Redirect
Client Error Responses:
400: Bad request
401: Unauthorized (unauthenticated)
403: Forbidden (unauthorized)
403: Forbidden
404: Not Found
408: Not Found
410: Gone
411: Length Required
418: I'm a teapot
428: Precondition Required
429: Too Many Requests
Server Error Responses:
500: Internal Server Error
501: Not Implemented
502: Bad Gateway
503: Service Unavailable
504: Gateway Timeout
505: HTTP Version Not Supported