MCPcopy Index your code
hub / github.com/python/cpython / do_POST

Method do_POST

Lib/test/test_urllib2_localnet.py:417–421  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

415 body = body[done:]
416
417 def do_POST(self):
418 content_length = self.headers["Content-Length"]
419 post_data = self.rfile.read(int(content_length))
420 self.do_GET()
421 self.requests.append(post_data)
422
423 def send_head(self):
424 FakeHTTPRequestHandler.headers_received = self.headers

Callers

nothing calls this directly

Calls 3

do_GETMethod · 0.95
readMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected