Package: python2.3
Version: 2.3.5-1
Severity: normal

Hi

There is a problem with (I think) in httplib.py. I found it when I couldn't
connect boa-constructor to Zope server. after a lot of searching, I
found that httplib.py seems to have a problem in the "HTTP" class (or
some other module that it depends on).
When I run "Python /usr/lib/python2.3/httplib.py" I get this error:

Traceback (most recent call last):
  File "/usr/lib/python2.3/httplib.py", line 1277, in ?
    test()
  File "/usr/lib/python2.3/httplib.py", line 1232, in test
    h = HTTP()
  File "/usr/lib/python2.3/httplib.py", line 1012, in __init__
    self._setup(self._connection_class(host, port, strict))
  File "/usr/lib/python2.3/httplib.py", line 507, in __init__
    self._set_hostport(host, port)
  File "/usr/lib/python2.3/httplib.py", line 523, in _set_hostport
    if host[0] == '[' and host[-1] == ']':
IndexError: string index out of range

where it should produce output similar to this:

status = 200
reason = OK
read 11762

Date: Sun, 20 Mar 2005 08:56:17 GMT
Server: Apache/1.3.26 (Unix)
Last-Modified: Sat, 19 Mar 2005 14:48:43 GMT
ETag: "5a75dc-2df2-423c3bcb"
Accept-Ranges: bytes
Content-Length: 11762
Connection: close
Content-Type: text/html

Thanx
--
Haim



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages python2.3 depends on:
ii  libbz2-1.0                  1.0.2-1      A high-quality block-sorting file 
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-17    Berkeley v4.2 Database Libraries [
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libreadline4                4.3-15       GNU readline and history libraries
ii  libssl0.9.7                 0.9.7e-2     SSL shared libraries
ii  zlib1g                      1:1.2.2-3    compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to