Home / Function/ test_redirect_with_wrong_gzipped_header() — requests Function Reference

test_redirect_with_wrong_gzipped_header() — requests Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  09c85eb3_364c_b7fb_c9b5_e901d483c120["test_redirect_with_wrong_gzipped_header()"]
  22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"]
  09c85eb3_364c_b7fb_c9b5_e901d483c120 -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14
  d54c8979_096f_53b2_ee13_71309e1bb559["_patch_adapter_gzipped_redirect()"]
  09c85eb3_364c_b7fb_c9b5_e901d483c120 -->|calls| d54c8979_096f_53b2_ee13_71309e1bb559
  style 09c85eb3_364c_b7fb_c9b5_e901d483c120 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_requests.py lines 2077–2081

    def test_redirect_with_wrong_gzipped_header(self, httpbin):
        s = requests.Session()
        url = httpbin("redirect/1")
        self._patch_adapter_gzipped_redirect(s, url)
        s.get(url)

Domain

Subdomains

Frequently Asked Questions

What does test_redirect_with_wrong_gzipped_header() do?
test_redirect_with_wrong_gzipped_header() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_redirect_with_wrong_gzipped_header() defined?
test_redirect_with_wrong_gzipped_header() is defined in tests/test_requests.py at line 2077.
What does test_redirect_with_wrong_gzipped_header() call?
test_redirect_with_wrong_gzipped_header() calls 1 function(s): _patch_adapter_gzipped_redirect.

Analyze Your Own Codebase

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

Try Supermodel Free