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


Groups > comp.lang.python > #100686

Library function to encode data to multipart/form-data format?

Path csiph.com!xmission!feeder.erje.net!1.us.feeder.erje.net!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail
From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Library function to encode data to multipart/form-data format?
Date Mon, 21 Dec 2015 17:51:00 +0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Lines 12
Message-ID <n59e64$ct4$1@reader1.panix.com> (permalink)
NNTP-Posting-Host 67-130-15-94.dia.static.qwest.net
X-Trace reader1.panix.com 1450720260 13220 67.130.15.94 (21 Dec 2015 17:51:00 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Mon, 21 Dec 2015 17:51:00 +0000 (UTC)
User-Agent slrn/1.0.2 (Linux)
Xref csiph.com comp.lang.python:100686

Show key headers only | View raw


Is there a standard library function that can be used to encode data
into multipart/form-data format?  IIRC, I looked for this once before
and didn't find anything in the library. 

[I don't want to actually send an HTTP POST or an email message, I
just need to generate sets of data for test purposes.]

-- 
Grant Edwards               grant.b.edwards        Yow! -- I love KATRINKA
                                  at               because she drives a
                              gmail.com            PONTIAC.  We're going
                                                   away now.  I fed the cat.

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


Thread

Library function to encode data to multipart/form-data format? Grant Edwards <invalid@invalid.invalid> - 2015-12-21 17:51 +0000
  Re: Library function to encode data to multipart/form-data format? Laura Creighton <lac@openend.se> - 2015-12-22 00:43 +0100
    Re: Library function to encode data to multipart/form-data format? Grant Edwards <invalid@invalid.invalid> - 2015-12-22 15:14 +0000

csiph-web