Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search


From: andreas:bolka:gmx at: 28-Jun-2003 19:13

Saturday, June 28, 2003, 12:11:50 AM, Carl wrote:
> 1. GGI CONTENT-LENGTH field is not used because we have found that > field is not always supplied or accurate on all web servers (at > least that's been our experience - we know one site that modifies > web packets and changes their lengths!).
hehe :) be strict in what you send and liberal in what you accept. just for the sake of completeness: by using the /safe refinement of my simple 'read-post-data script Tim Johnson posted earlier, you can easily accomodate for other people's faults in this regard.
> 2. We switch on POST and GET to allow a third case: NONE. This is > very handy for local debugging
yes it is indeed. but as a sidenote, it is perfectly legal to have both, a query string and post data (thru e.g. a POST to /my/script.cgi?n1=v1 ). -- Best regards, Andreas mailto:[andreas--bolka--gmx--net]