[racket-dev] comment boxes

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Tue Jun 29 17:11:15 EDT 2010

The Web server implements the multipart/form-data reading as well.


On Tue, Jun 29, 2010 at 3:07 PM, Neil Van Dyke <neil at neilvandyke.org> wrote:
> Eli Barzilay wrote at 06/29/2010 04:46 PM:
>> 2. Gnats *does* know how to deal with attachements.  The problem is
>>   that our cgi library cannot handle a multipart/form-data encoding.
>>   (If you convince the author to add support for that, I'll do the
>>   rest and add a file attachement option to the web form, and
>>   changing drracket to send a file is probably easy too.)
> I implemented "multipart/form-data" reading a couple years ago as part of
> robust CGI support for a proprietary application.
> As I recall, the HTTP "post" MIME-reading code is only a little bit
> application-specific.  (It writes file attachments directly to disk, and
> adds metadata about the attachments to the form field alist in a certain
> application-specific (constraining) way.  It might also do some stuff with
> character encodings that are not strictly backwards-compatible with Racket's
> "cgi" library.)
> If anyone has time and interest in adapting this HTTP "post" MIME-reading
> code to improve core Racket, I suspect that the copyright owner would be
> willing and able to contribute it.
> --
> http://www.neilvandyke.org/
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev

Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the dev mailing list.