This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sinic
Recipients docs@python, orsenthil, sinic
Date 2013-05-18.15:45:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368891902.97.0.967044954731.issue18007@psf.upfronthosting.co.za>
In-reply-to
Content
A fix for a DeprecationWarning (#17678) had the unfortunate side effect of changing the expected interface of the request object higher up in the call stack.

For example, the documentation for CookieJar.add_cookie_header(request) states that the request object must support the methods get_full_url(), get_host(), get_type(), unverifiable(), get_origin_req_host(), has_header(), get_header(), header_items(), and add_unredirected_header(). The patch for #17678, however, changes the requirement for a get_origin_req_host() method to an origin_req_host attribute.

This breaks at least one notable third-party library (Kenneth Reitz' Requests).
History
Date User Action Args
2013-05-18 15:45:02sinicsetrecipients: + sinic, orsenthil, docs@python
2013-05-18 15:45:02sinicsetmessageid: <1368891902.97.0.967044954731.issue18007@psf.upfronthosting.co.za>
2013-05-18 15:45:02siniclinkissue18007 messages
2013-05-18 15:45:02siniccreate