How to get request body with httptools?
agiUnderground opened this issue · 1 comments
agiUnderground commented
How to get access to request body? Something like this: httptools.HttpRequestParser.get_body()
sethmlarson commented
You'll have to set a callback in the protocol you pass to the parser for when a chunk of the body is received and accumulate the body somewhere if you want this exact functionality. The function name to define in the protocol is on_body(data)