[ python-Bugs-1046855 ] httplib index out of range

SourceForge.net noreply at sourceforge.net
Thu Oct 14 15:18:37 CEST 2004


Bugs item #1046855, was opened at 2004-10-14 09:21
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1046855&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
>Priority: 7
Submitted By: Grzegorz Makarewicz (makaron)
>Assigned to: Brett Cannon (bcannon)
Summary: httplib index out of range

Initial Comment:
import httplib
conn = httplib.HTTP()

httplib.py:523, in _set_hostport
    if host[0] == '[' and host[-1] == ']':

just because host is an empty string


----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2004-10-14 14:18

Message:
Logged In: YES 
user_id=6656

Ugh.  Brett, cvs annotate fingers you :)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1046855&group_id=5470


More information about the Python-bugs-list mailing list