Re: Parsing MIME-encoded data in an HTTP request

2008-07-06 Thread Ron Garret
In article <[EMAIL PROTECTED]>, Michael Ströder <[EMAIL PROTECTED]> wrote: > Ron Garret wrote: > > In article <[EMAIL PROTECTED]>, > > Ron Garret <[EMAIL PROTECTED]> wrote: > > > >> In article <[EMAIL PROTECTED]>, > >> Michael Ströder <[EMAIL PROTECTED]> wrote: > >> > >>> Ron Garret wrote: > >

Re: Parsing MIME-encoded data in an HTTP request

2008-07-05 Thread Michael Ströder
Ron Garret wrote: In article <[EMAIL PROTECTED]>, Ron Garret <[EMAIL PROTECTED]> wrote: In article <[EMAIL PROTECTED]>, Michael Ströder <[EMAIL PROTECTED]> wrote: Ron Garret wrote: I'm writing a little HTTP server and need to parse request content that is mime-encoded. All the MIME routin

Re: Parsing MIME-encoded data in an HTTP request

2008-07-04 Thread Ron Garret
In article <[EMAIL PROTECTED]>, Ron Garret <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > Michael Ströder <[EMAIL PROTECTED]> wrote: > > > Ron Garret wrote: > > > I'm writing a little HTTP server and need to parse request content that > > > is mime-encoded. All the MIME routin

Re: Parsing MIME-encoded data in an HTTP request

2008-07-04 Thread Ron Garret
In article <[EMAIL PROTECTED]>, Michael Ströder <[EMAIL PROTECTED]> wrote: > Ron Garret wrote: > > I'm writing a little HTTP server and need to parse request content that > > is mime-encoded. All the MIME routines in the Python standard library > > seem to have been subsumed into the email pac

Re: Parsing MIME-encoded data in an HTTP request

2008-07-04 Thread Michael Ströder
Ron Garret wrote: I'm writing a little HTTP server and need to parse request content that is mime-encoded. All the MIME routines in the Python standard library seem to have been subsumed into the email package, which makes this operation a little awkward. How about using cgi.parse_multipart(

Re: Parsing MIME-encoded data in an HTTP request

2008-07-04 Thread Ron Garret
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > On Jul 3, 3:59 pm, Ron Garret <[EMAIL PROTECTED]> wrote: > > I'm writing a little HTTP server and need to parse request content that > > is mime-encoded. All the MIME routines in the Python standard library > > seem to have been subsume

Re: Parsing MIME-encoded data in an HTTP request

2008-07-03 Thread s0suk3
On Jul 3, 3:59 pm, Ron Garret <[EMAIL PROTECTED]> wrote: > I'm writing a little HTTP server and need to parse request content that > is mime-encoded. All the MIME routines in the Python standard library > seem to have been subsumed into the email package, which makes this > operation a little awkw

Parsing MIME-encoded data in an HTTP request

2008-07-03 Thread Ron Garret
I'm writing a little HTTP server and need to parse request content that is mime-encoded. All the MIME routines in the Python standard library seem to have been subsumed into the email package, which makes this operation a little awkward. It seems I have to do the following: 1. Extract the co