Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get_scheme
Method
get_scheme
Lib/wsgiref/handlers.py:200–202 ·
view source on GitHub ↗
Return the URL scheme being used
(self)
Source
from the content-addressed store, hash-verified
198
199
200
def
get_scheme(self):
201
""
"Return the URL scheme being used"
""
202
return
guess_scheme(self.environ)
203
204
205
def
set_content_length(self):
Callers
1
setup_environ
Method · 0.95
Calls
1
guess_scheme
Function · 0.85
Tested by
no test coverage detected