Free Books / Computers / Practical mod_perl / books


previous page: 1.1. A Brief History of CGIpage up: Practical mod_perl | by Stas Bekman and Eric Choletnext page: 1.1.2. The Common Gateway Interface Specification

1.1.1. The HTTP Protocol

Search

Titles
  • Animals
  • Architecture
  • Arts
  • Computers
  • Crafts
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Society
  • Sports
  • Outdoors
  • Site Listing

Discover
  • StasoSphere
  • Science Religion
  • Health Resources
  • Find Articles
  • Travel Articles
  • mod_perl1 Book
  • mod_perl2 Book
  • FAQ Help Tutorials






















Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

Interaction between the browser and the server is governed by the HyperText Transfer Protocol (HTTP), now an official Internet standard maintained by the World Wide Web Consortium (W3C). HTTP uses a simple request/response model: the client establishes a TCP[3] connection to the server and sends a request, the server sends a response, and the connection is closed. Requests and responses take the form of messages. A message is a simple sequence of text lines.

[3]TCP/IP is a low-level Internet protocol for transmitting bits of data, regardless of its use.

HTTP messages have two parts. First come the headers, which hold descriptive information about the request or response. The various types of headers and their possible content are fully specified by the HTTP protocol. Headers are followed by a blank line, then by the message body. The body is the actual content of the message, such as an HTML page or a GIF image. The HTTP protocol does not define the content of the body; rather, specific headers are used to describe the content type and its encoding. This enables new content types to be incorporated into the Web without any fanfare.

HTTP is a stateless protocol. This means that requests are not related to each other. This makes life simple for CGI programs: they need worry about only the current request.

 

Continue to:

  • prev: 1.1. A Brief History of CGI
  • Table of Contents
  • next: 1.1.2. The Common Gateway Interface Specification

Books by Stas Bekman:

Tags

practical mod_perl, modperl, Apache, perl, cgi, html, scalability, free, open source, OSS, squid, high availability, linux, unix, web, www, webserver, admin, book, webmaster, tools, modperl guide, docs, documentation, help, script, eric cholet, stas bekman, performance, speed, choice









TOP
previous page: 1.1. A Brief History of CGIpage up: Practical mod_perl | by Stas Bekman and Eric Choletnext page: 1.1.2. The Common Gateway Interface Specification

© 2007 StasoSphere

[ Privacy Policy ] [ Terms of Use ] [ About Us ] [ Search ]

Last modified Thu Jun 5 17:22:17 2008