MCPcopy
hub / github.com/psf/requests / test_params_are_merged_case_sensitive

Method test_params_are_merged_case_sensitive

tests/test_requests.py:1738–1742  ·  view source on GitHub ↗
(self, httpbin)

Source from the content-addressed store, hash-verified

1736 assert "foo" not in r.request.headers
1737
1738 def test_params_are_merged_case_sensitive(self, httpbin):
1739 s = requests.Session()
1740 s.params["foo"] = "bar"
1741 r = s.get(httpbin("get"), params={"FOO": "bar"})
1742 assert r.json()["args"] == {"foo": "bar", "FOO": "bar"}
1743
1744 def test_long_authinfo_in_url(self):
1745 url = "http://{}:{}@{}:9000/path?query#frag".format(

Callers

nothing calls this directly

Calls 3

getMethod · 0.95
httpbinFunction · 0.85
jsonMethod · 0.80

Tested by

no test coverage detected