You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For cgi.parse_multipart, treq is likely to be better off using the multipart module from PyPI. email.message is often not quite right for HTTP form data, despite the similar encoding.
Does multipart support non-blocking API?
I took a very quick look at the code and I don't see any callback/non-blocking support. Maybe I need to dig deeper.
If anyone is interested, I am happy to get something based on this code into twisted ... I also have tests for it.. but have not added them in the gist.
There are two uses of the
cgi
module in treq:cgi.parse_header()
intreq.content
— suggested replacement isemail.message.Message
cgi.parse_multipart()
intreq.test.test_multipart
— same suggested replacementThe text was updated successfully, but these errors were encountered: