Message5875

Author jheiselman
Recipients amak, jheiselman
Date 2010-07-06.20:01:49
SpamBayes Score 0.00035021116
Marked as misclassified No
Message-id <1278446510.79.0.791603722244.issue1626@psf.upfronthosting.co.za>
In-reply-to
Content
Output as requested:

Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.5.0_22
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
>>> url = "http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/50594/chrome-win32.zip"
>>> print urllib.splittype(url)
('http', '//build.chromium.org/buildbot/snapshots/chromium-rel-xp/50594/chrome-win32.zip')

Looks like it is parsing it properly on my system.

I've tracked the problem to the proxy code in urllib.py.  The HTTP_proxy variable on my system didn't have the urltype (i.e. http) in the value.  This doesn't seem to be a problem for my perl code, but it definitely is in the urllib module.  Redefining it as http://<proxyaddress> worked great.

I think we can close this as user error.
History
Date User Action Args
2010-07-06 20:01:50jheiselmansetmessageid: <1278446510.79.0.791603722244.issue1626@psf.upfronthosting.co.za>
2010-07-06 20:01:50jheiselmansetrecipients: + jheiselman, amak
2010-07-06 20:01:50jheiselmanlinkissue1626 messages
2010-07-06 20:01:49jheiselmancreate