Home / Function/ test_header_remove_is_case_insensitive() — requests Function Reference

test_header_remove_is_case_insensitive() — requests Function Reference

Architecture documentation for the test_header_remove_is_case_insensitive() function in test_requests.py from the requests codebase.

Entity Profile

Dependency Diagram

graph TD
  050b11cc_9f04_00de_d1ba_6de0ea3bd832["test_header_remove_is_case_insensitive()"]
  22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"]
  050b11cc_9f04_00de_d1ba_6de0ea3bd832 -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14
  style 050b11cc_9f04_00de_d1ba_6de0ea3bd832 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_requests.py lines 1723–1728

    def test_header_remove_is_case_insensitive(self, httpbin):
        # From issue #1321
        s = requests.Session()
        s.headers["foo"] = "bar"
        r = s.get(httpbin("get"), headers={"FOO": None})
        assert "foo" not in r.request.headers

Domain

Subdomains

Frequently Asked Questions

What does test_header_remove_is_case_insensitive() do?
test_header_remove_is_case_insensitive() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_header_remove_is_case_insensitive() defined?
test_header_remove_is_case_insensitive() is defined in tests/test_requests.py at line 1723.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free