community
directory
books
authors
images
encyclopedia

Email:
Password:
Register

Knowledgerush Search

 

Google
  Web knowledgerush


Search for images of HTTP


Message boards   Post comment

HTTP

HTTP (for HyperText Transfer Protocol) is the primary method used to communicate information on the World Wide Web. The specification is currently maintained by the World Wide Web Consortium (W3C).

HTTP is a request/response protocol between clients and servers. An HTTP client, such as a web browser, initiates a request by connecting to (usually) TCP/IP port 80. The client then sends a request string, such as "GET / HTTP/1.1" (which would request the default page of that web server). The server would then respond with a file (or error message). The file sent by the server is preceded by an HTTP Header, which is a set of ASCII strings containing information about the server and the document being sent. HTTP is defined in RFC 2068.

HTTP differs from other TCP-based protocols such as FTP, in that connections are generally torn down once a particular request (or related series of requests) has been completed. This design makes HTTP ideal for the World Wide Web, where pages regularly link to pages on other servers. It can occasionally pose problems for Web designers, as the lack of a persistent connection necessitates alternative methods of maintaining users' "state". Many of these methods involve the use of "cookies".

There is a secure version of HTTP called HTTPS that can use any given encryption method as long as it is understood by both sides.

Sample

Below is a sample conversation to www.google.com:80 Client request:
GET / HTTP/1.1
Host: www.google.com

(followed by a blank line)

Note that a newline is sent as a carriage return followed by a line feed. In most programming languages, this is called CRLF or \r\n.

Server response:

HTTP/1.1 200 OK
Content-Length: 3059
Server: GWS/2.0
Date: Sat, 11 Jan 2003 02:44:04 GMT
Content-Type: text/html
Cache-control: private
Set-Cookie: PREF=ID=73d4aef52e57bae9:TM=1042253044:LM=1042253044:S=SMCc_HRPCQiqy
X9j; expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com
Connection: keep-alive

(followed by HTML text)

External links

Referenced By

404 File Not Found | 404 error | AX.25 | Apache HTTP Server | Apache Web Server | Apache server | Apache webserver | Application Layer | Application server | BugZilla | Busy-signal equivalent (HTTP) | Busy signal | Character encodings in HTML | Chatzilla | Client-side scripting | Cloaking | Communication protocol | Communications protocol | Computer and IT acronyms | Corkscrew | Data transmission protocol | Delta compression | Delta encoding | DiffServ | Differentiated Services | DoD model | Ed2k link | Eighty | FS-1037C | FastTrack | Federal Standard 1037C | File Sharing | Filesharing | Five hundred | Four hundred | Freenet | GENA | GNAA | Glossary of Telecommunication Terms | Gnutella | HTML character entity reference | HTML entity | HTTPS | HTTP cookie | Henrik Nordstrom | Henrik Nordström | How to program in Java | Httpd | Hypertext/Source tracking | I-Mode | IMode | IP switch | IP switch router | IRC/mIRC | ISO/OSI Reference Model | Idempotence | Idempotent | Idempotent element | Idempotent function | Internaut | Internet | Internet Information Services | Internet browser | Internet cookie | Internet protocol suite | Internet radio | Internetwork | IrOBEX | J2SE | Jakarta Slide | JavaServer Pages | Java (programming language) | Java 2 Platform, Standard Edition | Java API/Reflection | Java Servlet | Java Servlets | Java programming language | Karma whoring | Layer 2 | Layer 3 switch | Layer 4 switch | List of Internet topics | List of computing and IT abbreviations | List of computing and IT acronyms | List of well known ports (computing) | Lotus Notes | MANOLITO | MIME | MIRC | Man-in-the-middle attack | Man in the middle | Man in the middle attack | Matroska | Message queue | Mimail.R | Misuse of the Internet | Mozilla | Mozilla Browser | Mozilla organization | Multilayer switch ...

 

Compose Your Message

Your Email Address or Pen Name (optional):
Subject:
Your Message:
 

 

 

 

 

 

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "HTTP".

 

Contact UsPrivacy Statement & Terms of Use

 
Copyright © 1999-2003 Knowledgerush.com. All rights reserved.