[Python-modules-team] Bug#699844: requests mis-treats 303 responses due to a typo

Paul Tagliamonte paultag at debian.org
Tue Feb 5 20:02:37 UTC 2013


Package: python-requests
Severity: important
Tags: patch
thanks

I've attached upstream's fix. Some bits:

 Caused by using `is' on ints, rather then "==". Upstream bug 1156[1],
 fixed in commit b07c1ebd859a32e1203c1d4ef27f1fb9e154e55e (attached).

This violates a "SHOULD" in the HTTP/1.1 RFC, and it'd be really nice to
get this fixed for wheezy, if there is a way to get such a small change
in.


Thanks,
  Paul

[1]: https://github.com/kennethreitz/requests/issues/1156
[2]: https://github.com/kennethreitz/requests/commit/b07c1ebd859a32e1203c1d4ef27f1fb9e154e55e

-- 
 .''`.  Paul Tagliamonte <paultag at debian.org>
: :'  : Proud Debian Developer
`. `'`  4096R / 8F04 9AD8 2C92 066C 7352  D28A 7B58 5B30 807C 2A87
 `-     http://people.debian.org/~paultag
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b07c1ebd859a32e1203c1d4ef27f1fb9e154e55e.patch
Type: text/x-diff
Size: 1009 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20130205/38486e29/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20130205/38486e29/attachment.pgp>


More information about the Python-modules-team mailing list