[cse491] HW #5: URLs, Query Strings, and POST

Joe Amenta amentajo at msu.edu
Fri Oct 9 11:22:03 PDT 2009


How should our program deal with each of the following two cases (newline
means \r\n for readability):

POST /process_form?name=Joe&num=4&color=blue&case=upper HTTP/1.0
Host: localhost
Port: 1237
Content-length: 46
Content-type: application/x-www-form-urlencoded

name=Titus%20Brown&num=3&color=red&case=upper

and

POST /process_form?name=Joe&num=4&color=blue&case=upper HTTP/1.0
Host: localhost
Port: 1237
Content-length: 4096
Content-type: application/octet-stream

[insert 4096 bytes of random gibberish]

--Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/cse491-fall-2009/attachments/20091009/491ae963/attachment.htm>


More information about the cse491-fall-2009 mailing list