









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Client Server
Request Method URL / RelativeURL Request Headers Request Body
Protocol Version Status Code Response Headers Response Body
GET / HTTP/1. Host: www.cs.uct.ac.za
HTTP/1.1 200 OK Content-type: text/html Content-length: 1024
Really old webpage!
accessing and authoring content, not just the
former.
that works with their 2-way server Jigsaw.
creation? Why (not)?
Status^ –^ HTTPVersion StatusCode Reason Reason Description
200 OK Successful request 206 Partial Content Successful request for partial content
301 Moved Permanently Resource has been relocated
304 Not Modified Conditional GET but resource has not changed 400 Bad Request Request not understood 403 Forbidden Access to resource not allowed 404 Not Found URI/resource not found on server
500 Internal Server Error Unexpected error
request – for a POST request, data is
contained in the request body.
software and are similar to the non-static
version.
passed to Web applications.
application as a QUERY_STRING.
HTTP response and writes it to stdout, with at least a Content- type header.
converted to support CGI.
messages sent from the client to the server.
Content-Disposition: form-data; name="var1" something
Content-Disposition: form-data; name="var2"; filename="testpost.html“ Content-Type: text/html
-----------------------------41184676334--
recursive example
if you fill in the form embedded here, this is the data that gets sent to the server
Not-So-Common Gateway Interfaces
stdout for data,
parameters and output data.
query parameters.