test_should_strip_auth_port_change() — requests Function Reference
Architecture documentation for the test_should_strip_auth_port_change() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD db655af6_d68e_2f69_cf9c_26fe393da4de["test_should_strip_auth_port_change()"] 22b80b19_26d4_cd0e_c476_3edf87b3df14["TestRequests"] db655af6_d68e_2f69_cf9c_26fe393da4de -->|defined in| 22b80b19_26d4_cd0e_c476_3edf87b3df14 style db655af6_d68e_2f69_cf9c_26fe393da4de fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 1930–1934
def test_should_strip_auth_port_change(self):
s = requests.Session()
assert s.should_strip_auth(
"http://example.com:1234/foo", "https://example.com:4321/bar"
)
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_should_strip_auth_port_change() do?
test_should_strip_auth_port_change() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_should_strip_auth_port_change() defined?
test_should_strip_auth_port_change() is defined in tests/test_requests.py at line 1930.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free