[plt-scheme] web-server struct binding:file - content-type ?
I'll add it. Do you know if I need to use any particular browser to get it sent?
Jay
On Thu, Nov 6, 2008 at 12:43 AM, YC <yinso.chen at gmail.com> wrote:
> 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
>> >
>> >
>
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://jay.teammccarthy.org
"The glory of God is Intelligence" - D&C 93