Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ do_GET
Method
do_GET
Lib/test/test_httpservers.py:370–371 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
368
""
"Request handler for HTTP/0.9 server."
""
369
370
def
do_GET(self):
371
self.wfile.write(f
'OK: here is {self.path}\r\n'
.encode())
372
373
def
setUp(self):
374
super().setUp()
Callers
nothing calls this directly
Calls
2
write
Method · 0.45
encode
Method · 0.45
Tested by
no test coverage detected