New submission from Anton <rk3...@gmail.com>:

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.

----------
components: Extension Modules
messages: 91034
nosy: rk3dov
severity: normal
status: open
title: urllib2 bug on CentOS
versions: Python 2.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6596>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to