Difference between revisions of "Sven/Notes"

From Organic Design wiki
(reponse fields and GET/POST)
m
Line 12: Line 12:
 
  Date: Fri, 30 Mar 2007 09:11:02 GMT
 
  Date: Fri, 30 Mar 2007 09:11:02 GMT
  
GET and POST requests are essentially similar, they differ in the amount of content that can be transfered, GET requests are restricted to 4Kb. An analogy in the context of an email message, is a GET request is like all the information being in the subject line, and a POST request is like an email attachment.
+
GET and POST requests are essentially similar, they differ in the amount of content that can be transfered, GET requests are restricted to 4Kb. An analogy in the context of an email message, is that a GET request is like all the information being in the subject line, and a POST request is like an email attachment.
 
   
 
   
 
===See also===
 
===See also===

Revision as of 09:14, 30 March 2007

30 March 2007

Topics:

Client Server model

How a client side web browser interacts with a web server. See http://web-sniffer.net for an example of how http headers interact between the server and client. The Apache HTTP Server uses a listener process on port 80 (and ports 21, 443) to communicate with the client using the Transmission Control Protocol TCP/IP. The listener uses threads to fork child processes as client requests demand content from the web server.


The crital part in the HTTP Response Header are the fields;

Cache-Control:	no-cache (completely dynamic),  no-store, max-age=0 (check header everytime), must-revalidate
Date:	Fri, 30 Mar 2007 09:11:02 GMT

GET and POST requests are essentially similar, they differ in the amount of content that can be transfered, GET requests are restricted to 4Kb. An analogy in the context of an email message, is that a GET request is like all the information being in the subject line, and a POST request is like an email attachment.

See also

Debugging

how Mediawiki works