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.
Reviewed: https:/ /review. openstack. org/360838 /git.openstack. org/cgit/ openstack/ requests- mock/commit/ ?id=1b08dcc7055 7b2d58c56a923e6 d3176c2b64a14f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1b08dcc70557b2d 58c56a923e6d317 6c2b64a14f
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: I7bde70a52995ec f31a0eaeff96f28 23a1a6682b2
Closes-Bug: #1584008