[Twisted-Python] web client FileBodyProducer - transfer encoding
Kevin Mcintyre
kebin70 at gmail.com
Mon Jan 30 14:47:30 MST 2017
hey all - quick question. Trying to understand FileBodyProducer as it
pertains to POST.
json_body = FileBodyProducer(StringIO(json.dumps({'key': 'value'})))
agent.request("POST", ~*uri*, Headers({'User-Agent': ['AkamaiTest']}),
json_body)
Does the agent chunk the POST body? Is this controllable?
Any insight appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20170130/c383e8c3/attachment.html>
More information about the Twisted-Python
mailing list