This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rk3dov
Recipients rk3dov
Date 2009-07-29.10:35:57
SpamBayes Score 0.0005364992
Marked as misclassified No
Message-id <1248863758.9.0.379989191773.issue6596@psf.upfronthosting.co.za>
In-reply-to
Content
This code gives HTTP Error 500 on CentOS:
---------------------------------------------
import urllib2
url = 'http://wm.exchanger.ru/asp/XMLWMList.asp?exchtype=1'
t = urllib2.urlopen(url).read()
---------------------------------------------

tcpdump:
---------------------------------------------
...
GET /asp/XMLWMList.asp?exchtype=1?3d2ebf80 HTTP/1.1
Accept-Encoding: identity
Host: wm.exchanger.ru
Connection: close
User-Agent: Python-urllib/2.6
...
---------------------------------------------
"?3d2ebf80" appended to request

% uname -a
Linux xxx.xxx 2.6.18-028stab062.3-ent #1 SMP Thu Mar 26 15:12:05 MSK 
2009 i686 i686 i386 GNU/Linux

The same problem with python 2.4.3. On other systems this code works 
nice.
History
Date User Action Args
2009-07-29 10:35:58rk3dovsetrecipients: + rk3dov
2009-07-29 10:35:58rk3dovsetmessageid: <1248863758.9.0.379989191773.issue6596@psf.upfronthosting.co.za>
2009-07-29 10:35:57rk3dovlinkissue6596 messages
2009-07-29 10:35:57rk3dovcreate