HTTP Hypertext Transfer Protocol

Handshake between client and server communication

About

 HTTP is Application level protocol Connectionless Stateless Media independent

Header

 General Request Response Entity

Requests

 Request line 0-<n> header CRLF - indicating end of header fields Message body

Request Method

 Get Head Post Put Delete Connect Options Trace

Responses

 Status line 0 - <n> header fields CRLF CRLF - indicating end of header fields Optional message body

Message body

 Content type and length

Status Codes

 1xx - Informational 2xx - Success 3xx - Redirection 4xx - Client Error 5xx - Server Error

Versions

 HTTP1.0 HTTP1.1

Parameters

Caching

 Client and Server caching

Security

 Personal Information leakage File and path names based attack DNS Spoofing Location Headers and Spoofing Authentication Credentials Proxies and Caching