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_urllib2_localnet.py:411–415 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
409
port = 80
410
411
def
do_GET(self):
412
body = self.send_head()
413
while
body:
414
done = self.wfile.write(body)
415
body = body[done:]
416
417
def
do_POST(self):
418
content_length = self.headers[
"Content-Length"
]
Callers
1
do_POST
Method · 0.95
Calls
2
send_head
Method · 0.95
write
Method · 0.45
Tested by
no test coverage detected