glossary:http
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
glossary:http [2009/01/16 17:55] – created eechris | glossary:http [2011/01/14 12:47] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Hypertext Transfer Protocol (HTTP) ====== | ||
+ | |||
+ | HyperText Transfer Protocol: the application protocol that defines the world-wide web. It's a very simple protocol that allows a user agent (or client) -- usually, but not always, a web browser -- to request a resource from a web server. | ||
+ | |||
+ | Two messages are defined: the [[HTTP request]] which consists essentially of a verb (``GET``, ``POST``, ``HEAD``, ``PUT``, ``DELETE``) and some additional fields and data which act as adverbs, and the [[HTTP response]] which provides a status message (``200 OK``, ``404 not found``, ``304 not modified``), | ||
+ | |||
+ | HTTP is a [[stateless protocol]]: as far as the web server is concerned each request is handled separately as if it had come from a different web client. HTTP version 1.1 allows the client to keep a socket open after the first request so that subsequent requests to the same host (e.g. for additional resources from the same web site) can be made without the overhead of establishing a new TCP connection. | ||
+ | |||
+ | As web applications typically allow a web user to engage in a conversation with the web server, the stateless nature of HTML makes the handling of state a challenge that has to be handled using browser and server tricks such as sessions and session cookies. | ||
+ | |||
+ | HTTP is formally defined in two [[ietf_standard|IETF]] [[rfc|Request for Comments]]: the first version of HTTP was defined in [[http:// | ||
+ | ---- | ||
+ | [[Glossary]] : [[glossary# | ||
+ | |||