Apologies if I've missed something here but parse_qs (for me at least with python 2.7.8) seems to give case sensitive results:
>>> urlparse.parse_qs('a=1') {'a': ['1']} >>> urlparse.parse_qs('a=1A') {'a': ['1A']} >>> urlparse.parse_qs('B=1A') {'B': ['1A']}
Surely https://github.com/openstack/requests-mock/blob/780eb4b4fe25dddb802b5bfb39f846d7fa60ea9a/requests_mock/adapter.py#L55 is where the problem lies as it's explicitly calling .lower() on the url. Could that bit not be changed?
Apologies if I've missed something here but parse_qs (for me at least with python 2.7.8) seems to give case sensitive results:
>>> urlparse. parse_qs( 'a=1') parse_qs( 'a=1A') parse_qs( 'B=1A')
{'a': ['1']}
>>> urlparse.
{'a': ['1A']}
>>> urlparse.
{'B': ['1A']}
Surely https:/ /github. com/openstack/ requests- mock/blob/ 780eb4b4fe25ddd b802b5bfb39f846 d7fa60ea9a/ requests_ mock/adapter. py#L55 is where the problem lies as it's explicitly calling .lower() on the url. Could that bit not be changed?