> > I don't think this is true.  httplib sends whatever string
> > you pass to it.  It doesn't check the string at all.
> > It doesn't chop anything off.
> 
> No,It does  chop everything after '?' . You can use a sniffer to see 
> that

Let me see the exact code you're using.

Python definitely does *not* adjust the url that you pass to it.

I ran some code under a debugger and verified that it works
correctly.


> > 
> > What version of Python are you using?
> 2.1.

I just looked up the source code for httplib in Python 2.1.
It does no checking on the URL argument.

Try this:
>>> import httplib
>>> httplib.__file__

Python will tell you where the httplib.py file is.  Open it.
Search for "putrequest".  Look at the source code.  I guarantee
it isn't messing with your URL at all.

## Jason Orendorff    http://www.jorendorff.com/
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to