Home / Function/ get_origin_req_host() — requests Function Reference

get_origin_req_host() — requests Function Reference

Architecture documentation for the get_origin_req_host() function in cookies.py from the requests codebase.

Function python CoreAPI SessionLifecycle calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  3f0e9c17_865c_bf7a_d792_9b1cfe7b7a1b["get_origin_req_host()"]
  ad93b63e_dc2f_11b4_dbba_995ffe6bcf13["MockRequest"]
  3f0e9c17_865c_bf7a_d792_9b1cfe7b7a1b -->|defined in| ad93b63e_dc2f_11b4_dbba_995ffe6bcf13
  9869de3e_3d49_ace6_1445_040b13192c70["origin_req_host()"]
  9869de3e_3d49_ace6_1445_040b13192c70 -->|calls| 3f0e9c17_865c_bf7a_d792_9b1cfe7b7a1b
  12329c13_8fec_ecc4_a995_93e3e9a1b72d["get_host()"]
  3f0e9c17_865c_bf7a_d792_9b1cfe7b7a1b -->|calls| 12329c13_8fec_ecc4_a995_93e3e9a1b72d
  style 3f0e9c17_865c_bf7a_d792_9b1cfe7b7a1b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/requests/cookies.py lines 46–47

    def get_origin_req_host(self):
        return self.get_host()

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does get_origin_req_host() do?
get_origin_req_host() is a function in the requests codebase, defined in src/requests/cookies.py.
Where is get_origin_req_host() defined?
get_origin_req_host() is defined in src/requests/cookies.py at line 46.
What does get_origin_req_host() call?
get_origin_req_host() calls 1 function(s): get_host.
What calls get_origin_req_host()?
get_origin_req_host() is called by 1 function(s): origin_req_host.

Analyze Your Own Codebase

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

Try Supermodel Free