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 *

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

in Table To:


© 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