Subject: python2.5 urllib/urllib2: HTTPS over (Squid) Proxy fails
Package: python2.5
Version: 2.5.2-15
Severity: normal
Tags: patch

python2.5 urllib2 fails to reach https website behind a proxy because it does
not use the command 'CONNECT'. This bug has been reported upstream, and a patch
is available upstream:
http://bugs.python.org/issue1424152

Applying the patch http-tunnel-urllib fixes my problem:
cat http-tunnel-urllib | (cd  /usr/lib/python2.5/ ; sudo patch -p1)


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python2.5 depends on:
ii  libbz2-1.0                1.0.5-1        high-quality block-sorting file co
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libdb4.5                  4.5.20-13      Berkeley v4.5 Database Libraries [
ii  libncursesw5              5.7+20090124-1 shared libraries for terminal hand
ii  libreadline5              5.2-3.1        GNU readline and history libraries
ii  libsqlite3-0              3.5.9-6        SQLite 3 shared library
ii  libssl0.9.8               0.9.8g-15      SSL shared libraries
ii  mime-support              3.44-1         MIME files 'mime.types' & 'mailcap
ii  python2.5-minimal         2.5.2-15       A minimal subset of the Python lan

python2.5 recommends no packages.

Versions of packages python2.5 suggests:
pn  python-profiler               <none>     (no description available)
pn  python2.5-doc                 <none>     (no description available)

-- no debconf information

Attachment: http-tunnel-urllib
Description: Binary data

Reply via email to