User Tools

Site Tools


protocols:http

This is an old revision of the document!


HTTP

Intro

HTTP can run in two modes:

  • Non-Persistent - each response/request is sent over separate TCP connection
  • Persistent - re-using same TCP connection for all request/responses

There are two HTTP message types:

  • Request
  • Response

Both have a start line, headers, an empty line and optional body.

HTTP Request Message

First line in the Request Message is called a request line. The subsequent lines are called headers line.

Request line has three fields:

  • Method
  • URL
  • HTTP version
protocols/http.1782483988.txt.gz · Last modified: by v1ctor