Parsing multipart HTTP response

Gilles Lenfant gilles.lenfant at gmail.com
Mon Aug 3 17:05:30 CEST 2015


Le lundi 3 août 2015 17:01:40 UTC+2, Gilles Lenfant a écrit :
> 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

Ah, aiohttp does something similar to what I need but requires Python 3.3 + when I'm stuck with Pyton 2.7 on that project.


More information about the Python-list mailing list