Everything2
Near Matches
Ignore Exact
Full Text
Everything2

HTTP Request Line

created by RubberMeat

(thing) by RubberMeat (3.6 y) (print)   ?   (I like it!) Tue Apr 10 2001 at 20:16:48

An HTTP request line is a single line of data that an HTTP client sends to a server when requesting a document.

Syntax:

(request-method) (URI) HTTP/(version)

Examples:

GET / HTTP/1.0
GET /~docs/tutorial.pdf HTTP/1.0
GET /profiles/john.html HTTP/1.0
POST /cgi-bin/name HTTP/1.0

(request-method)

The request method tells the server what the client wants it to do. There are three different request methods supported under HTTP 1.0.

GET
This is the most common request method. The GET method tells the server that the client wants a document. When you type http://www.everything2.com into the address bar your browser connects to port 80 of www.everything2.com and issues the request line GET / HTTP/1.0.

HEAD
Similar to GET however the server will only send the response headers, not the actual document. Among it's many uses are:


POST
This method is used to tell the server that it will be recieving data for a CGI program. The client sends a request line (using the POST method..duh.), followed by a content-length line, any other HTTP headers, a blank line, and finally the data to be processed by the CGI program.

(URI)

The URI in this case is a partial URI. It is the path from the server to the file that the client is requesting. It will be theURL with the protocol, host, and port number stripped off.

URL:  http://ret004l9.eresmas.net/bigfeet/bigfeet.html
partial URI:  /bigfeet/bigfeet.html

(version)

The HTTP version being used on the server. Generally this will be 1.0 however more and more servers are supporting HTTP 1.1.

printable version
chaos

Abbreviations used in Personal Ads URI Teach Yourself Scheme: 17 CGI scripts Java HTTP daemon
HTTP Status Code Definitions HTTP Killing baby bunnies with breast milk CGI script
The Ten Commandments Judge web based cgi proxy How to draw a 4-dimensional object, when you're limited to 3 dimensions putty
GPC Netscape Fishcam Visual Basic HTML Tidy
Mapping Cardinalities I thought I had some great insight into human nature, but I didn't server Referrer
P.F. Chang's Myspace Quick Script for fixing Btrieve files Editor Log: June 2006
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Drink up!
Ted Hughes
Encyclopedia on a toothpick
flea
Dia de los Muertos
Libber and I go to war
George Washington's Inaugural Addresses
A foot of jade is worth an inch of time
William Gladstone
Year of the rooster
The Emperor's New Clothes
The Legend of Zelda: Link's Awakening
house
Fight Club
New Writeups
Mythi
July 24, 2008(personal)
locke baron
The fall of Earth(fiction)
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
stainedglass
1(fiction)
kalen
Three "T"s(idea)
octillion369
Undead(idea)
archiewood
Ico(fiction)
Heisenberg
Why I love Everything2(log)
octillion369
Death Knight(person)
XWiz
Are you hoping for a miracle?(review)
santo
The Host(review)
LostPsion
"Shut the Fuck Up" Theaters(idea)
beatrice
You've been slowly taking me over for nearly a year, do you know that?(idea)
Berek
YouTube(thing)
This page courtesy of The Everything Development Company