Tutorial 6: Summary of HTTP Protocol - Part 1
Default port for http is 80 and for https is 443
Different part of URL:
Protocol://host:port/resource_path?query
There are four popular types of verbs
Get, Post, (Put, Delete)
others are
head(same as get but without msg body),
trace(to get the time toandfrom server ),
options (to retrieve server capabilities)
STATUS CODES
1XX: Informational messages
100 : Expect, continue sending the data
2XX: Successful
200 : OK202 : Accepted, but there may be no response
204 : No msg body in response
205 : Telling client to reset the content
206 : Partial content
3XX: Redirection
301 : Moved Permanently303 : Temporary relocated
304 : Not Modified
4XX: Client Error
400 : Bad Request401 : Unauthorized request
403 : Forbidden
404 : Wrong Resource url requested
405 : Method Not Allowed
5XX: Server Error
500 : Internal server error501 : Not implemented
503 : Service unavailable
Comments
Post a Comment