Appendix A HyperText Transfer Protocol This appendix provides a short introduction to a few HyperText Transfer Protocol (HTTP) basics. For more information on HTTP, see the Internet Engineering Task Force (IETF) home page at:
This appendix provides a short introduction to a few HyperText Transfer Protocol (HTTP) basics. For more information on HTTP, see the Internet Engineering Task Force (IETF) home page at:
http://www.ietf.org/home.html
About HyperText Transfer Protocol (HTTP)
Requests
Responses
http://www.ietf.org/html.charters/http-charter.html
Request method
Request header
Request data
GETRequests the specified document
HEADRequests only the header information for the document
POSTRequests that the server accept some data from the client, such as form input for a CGI program
PUTReplaces the contents of a server's document with data from the client
Status code
Response header
Response data
Status codes in the 100-199 range indicate a provisional response.
Status codes in the 200-299 range indicate a successful transaction.
Status codes in the 300-399 range are returned when the URL can't be retrieved because the requested document has moved.
Status codes in the 400-499 range indicate the client has an error.
Status codes of 500 and higher indicate that the server can't perform the request, or an error has occurred.