MCPcopy
hub / github.com/benoitc/gunicorn / get_request_body

Method get_request_body

gunicorn/http2/stream.py:293–299  ·  view source on GitHub ↗

Get the complete request body. Returns: bytes: The request body data

(self)

Source from the content-addressed store, hash-verified

291 )
292
293 def get_request_body(self):
294 """Get the complete request body.
295
296 Returns:
297 bytes: The request body data
298 """
299 return self.request_body.getvalue()
300
301 async def read_body_chunk(self):
302 """Read next body chunk asynchronously for streaming.

Callers 5

test_get_empty_bodyMethod · 0.95
receiveMethod · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by 3

test_get_empty_bodyMethod · 0.76