Your message dated Sun, 05 Aug 2007 03:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#433724: fixed in urlgrabber 3.1.0-4
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: python-urlgrabber
Version: 3.1.0-3
Severity: normal
Tags: patch
urlgrabber.keepalive.HTTPHandler don't use Request.get_method() to
determine the appropriate HTTP method.
$ cat buggy.py
#!/usr/bin/python
from urllib2 import Request, AbstractHTTPHandler, build_opener
from urlgrabber.keepalive import HTTPHandler as KeepaliveHTTPHandler
class HeadRequest(Request):
def get_method(self):
return 'HEAD'
u2_opener = build_opener()
ka_opener = build_opener(KeepaliveHTTPHandler)
URL = 'http://www.us.debian.org/'
for opener in u2_opener, ka_opener:
print \
[h for h in opener.handlers if isinstance(h, AbstractHTTPHandler)], \
len(opener.open(HeadRequest(URL)).read())
$ python buggy.py
[<urllib2.HTTPHandler instance at 0xb78bfc6c>, <urllib2.HTTPSHandler instance at
0xb78d214c>] 0
[<urllib2.HTTPSHandler instance at 0xb78d23cc>, <urlgrabber.keepalive.HTTPHandler
instance at 0xb78d24cc>] 14213
The attached patch solves this problem.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-urlgrabber depends on:
ii python-support 0.6.4 automated rebuilding support for p
ii python2.4 2.4.4-4 An interactive high-level object-o
python-urlgrabber recommends no packages.
-- no debconf information
--
Jakub Wilk
keepalive.py.diff.gz
Description: Binary data
--- End Message ---
--- Begin Message ---
Source: urlgrabber
Source-Version: 3.1.0-4
We believe that the bug you reported is fixed in the latest version of
urlgrabber, which is due to be installed in the Debian FTP archive:
python-urlgrabber_3.1.0-4_all.deb
to pool/main/u/urlgrabber/python-urlgrabber_3.1.0-4_all.deb
urlgrabber_3.1.0-4.diff.gz
to pool/main/u/urlgrabber/urlgrabber_3.1.0-4.diff.gz
urlgrabber_3.1.0-4.dsc
to pool/main/u/urlgrabber/urlgrabber_3.1.0-4.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Kevin Coyner <[EMAIL PROTECTED]> (supplier of updated urlgrabber package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 04 Aug 2007 21:52:14 -0400
Source: urlgrabber
Binary: python-urlgrabber
Architecture: source all
Version: 3.1.0-4
Distribution: unstable
Urgency: low
Maintainer: Kevin Coyner <[EMAIL PROTECTED]>
Changed-By: Kevin Coyner <[EMAIL PROTECTED]>
Description:
python-urlgrabber - A high-level cross-protocol url-grabber
Closes: 433724
Changes:
urlgrabber (3.1.0-4) unstable; urgency=low
.
* Patch to have urlgrabber.keepalive.HTTPHandler use Request.get_method() to
determine the appropriate HTTP method. Thanks to Jakub Wilk.
Closes: #433724
* Changed maintainer e-mail to reflect new Debian account.
* Added dpatch as Build-Depends to debian/control.
Files:
b79186a64460ae1504cf869433f86395 883 python optional urlgrabber_3.1.0-4.dsc
2a92d8ce0d89c5e772a98e9b8dcd5b73 78848 python optional
urlgrabber_3.1.0.orig.tar.gz
17a3948177e8c8a4a172e310640b28a4 7015 python optional
urlgrabber_3.1.0-4.diff.gz
5643f9cbb0fb65ee464fb1e4bdcf7275 56620 python optional
python-urlgrabber_3.1.0-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGtTatqPceVIzhGUERAmxUAJ991jtUU4AoINPeapFnUuCfpkeQewCguXz0
1kPcUfsiTIxiIRlaUG/d+jM=
=f7Oe
-----END PGP SIGNATURE-----
--- End Message ---