Support timeout and allow_redirect attributes

Bug #1565576 reported by Jamie Lennox
6
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to requests-mock (master)

Reviewed: https://review.openstack.org/300254
Committed: https://git.openstack.org/cgit/openstack/requests-mock/commit/?id=459e13cb241e91ea5d06063650a62ef077583ab2
Submitter: Jenkins
Branch: master

commit 459e13cb241e91ea5d06063650a62ef077583ab2
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
    Co-Authored-By: Nikolay Martynov <email address hidden>
    Change-Id: I3bfb84472e223421dcdaa04161460e1cbfba352a

Changed in requests-mock:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.