Comment 10 for bug 1584008

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to requests-mock (master)

Reviewed: https://review.openstack.org/360838
Committed: https://git.openstack.org/cgit/openstack/requests-mock/commit/?id=1b08dcc70557b2d58c56a923e6d3176c2b64a14f
Submitter: Jenkins
Branch: master

commit 1b08dcc70557b2d58c56a923e6d3176c2b64a14f
Author: Jamie Lennox <email address hidden>
Date: Fri Aug 26 10:54:27 2016 +1000

    Enable case sensitive matching

    When matching URLs both strings are always lowercased to provide case
    insensitive matching. Whilst this makes sense for the protocol and the
    host names it does not necessarily hold true for paths and query
    strings.

    A byproduct of this is that the lowercased strings are being reported in
    request_history which makes it harder to verify requests you made.

    We enable globally and per adapter setting case sensitive matching. This
    is intended to become the default in future releases.

    Change-Id: I7bde70a52995ecf31a0eaeff96f2823a1a6682b2
    Closes-Bug: #1584008