Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94947

Re: Parsing multipart HTTP response

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Parsing multipart HTTP response
Date 2015-08-03 16:39 +0100
References <648c131d-6315-4f83-88f0-b87bf3b530a9@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.1195.1438616367.3674.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Parsing multipart HTTP response Gilles Lenfant <gilles.lenfant@gmail.com> - 2015-08-03 08:01 -0700
  Re: Parsing multipart HTTP response Gilles Lenfant <gilles.lenfant@gmail.com> - 2015-08-03 08:05 -0700
  Re: Parsing multipart HTTP response Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-08-03 16:39 +0100
    Re: Parsing multipart HTTP response Gilles Lenfant <gilles.lenfant@gmail.com> - 2015-08-03 10:15 -0700

csiph-web