Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ get_scheme
Method
get_scheme
Lib/wsgiref/handlers.py:199–201 ·
view source on GitHub ↗
Return the URL scheme being used
(self)
Source
from the content-addressed store, hash-verified
197
198
199
def
get_scheme(self):
200
""
"Return the URL scheme being used"
""
201
return
guess_scheme(self.environ)
202
203
204
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