* Daniele Tricoli <er...@mornie.org>, 2013-02-16, 01:31:
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.

As you already noticed 1.1.0 is currently in experimental, but if you need this, I can include the patch in 1.1.0-2.

As far as I can see, 0.12.1 might be affected as well, although probably only rarely used code paths are affected:

$ grep -cr 'status_code is' requests/models.py 3

--
Jakub Wilk

_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to