When using requests-mock, my querystring data is lowercased:
request.post('http://foo.bar', params={'Foo': 'Bar'})
def foo_bar(self, request, context):
import pdb; pdb.set_trace()
The actual value of request.qs
will be {'foo': ['bar']}
.
How do I get it to not lower case my query string data?
There's a bug that should be fixed in 1.1: https://bugs.launchpad.net/requests-mock/+bug/1584008
I'm using 1.3 though and still having this issue.