Support timeout and allow_redirect attributes
Bug #1565576 reported by
Jamie Lennox
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
requests-mock |
Fix Released
|
Wishlist
|
Jamie Lennox |
Bug Description
Timeout and allow_redirect are paramters of sending a request rather than the request itself, however for our usage it is really easy to expose these parameters in the request history.
Changed in requests-mock: | |
assignee: | nobody → Jamie Lennox (jamielennox) |
importance: | Undecided → Wishlist |
milestone: | none → 0.8.0 |
Changed in requests-mock: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/300254 /git.openstack. org/cgit/ openstack/ requests- mock/commit/ ?id=459e13cb241 e91ea5d06063650 a62ef077583ab2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 459e13cb241e91e a5d06063650a62e f077583ab2
Author: Jamie Lennox <email address hidden>
Date: Fri Apr 1 10:27:30 2016 +1100
Add timeout and allow_retries to RequestProxy
This information is available via the connection but not on the request
object. Make it available for testing as well.
Closes-Bug: #1565576 21dcdaa04161460 e1cbfba352a
Co-Authored-By: Nikolay Martynov <email address hidden>
Change-Id: I3bfb84472e2234