guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uploading Word documents, PDFs, PNG files etc


From: Ludovic Courtès
Subject: Re: Uploading Word documents, PDFs, PNG files etc
Date: Tue, 19 May 2009 09:50:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)

Hello,

Sebastian Tennant <address@hidden> writes:

> Content-Disposition is mandatory, but Content-Type is optional
> (defaulting to text/plain) as is Content-Transfer-Encoding, so the
> "header part" of any given MIME part may be a single line or it may be
> three.

Then I presume this could be read line-by-line as strings (using
`read-line' from `(ice-9 rdelim)') until the end-of-header marker is
reached.  The remaining data would be read using `uniform-vector-read!'
or some such.

Disclaimer: I'm no MIME expert.  ;-)

Thanks,
Ludo'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]