Parsing multipart HTTP response

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Aug 3 11:39:09 EDT 2015


On 03/08/2015 16:01, Gilles Lenfant wrote:
> Hi,
>
> I searched without succeeding a Python resource that is capable of parsing an HTTP multipart/mixed response stream, preferably as a generator that yields headers + content for each part.
>
> Google and friends didn't find or I didn't use the appropriate term.
>
> Any hint will be appreciated.
> --
> Gilles Lenfant
>

Hardly my field but how about:-

https://pypi.python.org/pypi/requests-toolbelt/0.3.1
https://pypi.python.org/pypi/multipart/

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list