Basic HTML version of Foils prepared 11 May 1997

Foil 16 HTTP - GET Request Example

From Setting the Stage for CGI Programming: HTTP, URL, CGI, MIME, HTTPD and many other acronyms ECS400 Senior Undergraduate Course -- Spring Semester 1997. by Nancy J. McCracken *

GET /document.html HTTP/1.0
Accept: www/source
Accept: text/html
Accept: image/gif
User-Agent: Lynx/2.2 libww/2.14
From: mnotulli@ukonaix.cc.ukans.edu
  • -- blank-line-terminating-the-request --
First line syntax is always: METHOD URL ProtocolVersion
The following lines form a header of an (extended) MIME message
"User-Agent" specifies the browser type
"Accept" specifies MIME types recognized by the browser
The server is expected to provide the requested data in one of these acceptable formats.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Aug 21 1997