HTTP of TCP/IP
HTTP:HyperText Transfer Protocol Hypertext transfer Protocol
Features: dumb service, non-stateless connectionless service
URL= protocol + host+ [port] + URI
HttpRequest:
Remove the first line (CRLF represents carriage return and line feeds) (firewalls can filter based on these fields)
Command:
Commonly used GET HEAD PUT POST
Common status code
200 OK / / client request succeeded
400 Bad Request / / client request has syntax error and cannot be understood by the server
401 Unauthorized / / request unauthorized, this status code must be used with the WWW-Authenticate header domain
403 Forbidden / / server received the request but refused to provide service
404 Not Found / / request resource does not exist. Eg: incorrect URL entered
Unexpected error occurred on 500 Internal Server Error / / server
503 Server Unavailable / / server is currently unable to process client requests and may return to normal after a period of time