[plt-scheme] web-server struct binding:file - content-type ?
It's not part of the headers (unless it's a PUT) - it's part of the
multipart/form-data being posted by the browser.
Thanks,
yc
On Wed, Nov 5, 2008 at 11:19 PM, Noel Welsh <noelwelsh at gmail.com> wrote:
> Isn't that part of the headers? The web server exposes those in the
> request struct.
>
> N.
>
> On Thu, Nov 6, 2008 at 1:13 AM, YC <yinso.chen at gmail.com> wrote:
> > Hi -
> >
> > in the web-server module, the request struct `binding:file` doesn't
> include
> > a content-type binding - can it be included? As far as I can tell, when
> > uploading a file through browsers the content-type header is included
> (yes
> > it can be unreliable, but so can other data...).
> >
> > Thanks,
> > yc
> >
> >
> > _________________________________________________
> > For list-related administrative tasks:
> > http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20081105/bb0216ab/attachment.html>