Florent Xicluna <florent.xicl...@gmail.com> added the comment:

Confirmed with telnet sessions:

== Simulate "urllib2" ==

$ telnet www.mfsa.com.mt 80
GET /insguide/english/glossarysearch.jsp?letter=all HTTP/1.1
Accept-Encoding: identity
Host: www.mfsa.com.mt
Connection: close
User-Agent: Python-urllib/2.7

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=D34D395A7654B6532F6F6DFF81FC91C3; Path=/insguide
Content-Type: text/html
Date: Sat, 21 Aug 2010 11:54:25 GMT
Connection: close

Connection closed by foreign host.
$ 

== Simulate "urllib" ==

GET /insguide/english/glossarysearch.jsp?letter=all HTTP/1.0
Host: www.mfsa.com.mt
User-Agent: Python-urllib/1.17

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=84D9D8DF76546751908F388D8889BB47; Path=/insguide
Content-Type: text/html
Transfer-Encoding: chunked
Date: Sat, 21 Aug 2010 11:54:06 GMT

400
<html>...
$

----------
nosy: +flox
versions: +Python 2.7

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

Reply via email to