HTTPLib and POST problem with '?'

Jason Orendorff jason at jorendorff.com
Sun Jan 13 11:57:03 EST 2002


> >  h.putrequest("POST", "/cgi-bin/script.cgi?name=Paul")
> 
> No; this violates the HTTP standards (the ? and after are
> only used for GET, to encode the FORM values; in POST, the
> form values are sent as the request's data instead of in
> the URL) [...]

Is this true?  Admittedly I avoid using POST this way,
but is there really something in RFC 2616 that forbids it?
I wasn't able to find anything.

## Jason Orendorff    http://www.jorendorff.com/




More information about the Python-list mailing list