HTTPLib and POST problem with '?'

Alex Martelli aleax at aleax.it
Mon Jan 14 04:25:31 EST 2002


"Jason Orendorff" <jason at jorendorff.com> wrote in message
news:mailman.1010991799.20468.python-list at python.org...
    ...
> > >> >  h.putrequest("POST", "/cgi-bin/script.cgi?name=Paul")
    ...
> And, not all HTTP-based server-side applications use CGI.  In fact,

True.  If a site chooses to "store" (virtually) under cgi-bin, and
name with a .cgi extension, some stuff which has absolutely nothing
to do with cgi, it's not violating any standard, AFAIK (last I heard,
neither ISO, nor IETF, nor w3c, had any plan to standardize common
sense).  In any case, httplib could be used to access non-CGI server
side applications, and thus can't assume mutual exclusion of "query
string URL-part" and "posted data"; unless there's some other relevant
spot in the RFC's, my contention was therefore wrong.


Alex






More information about the Python-list mailing list