Re: Re: [Caml-list] Re: Common CGI interface

Florian Hars <[email protected]> Thu, 21 Apr 2005 09:36:33 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel,gmane.comp.lang.caml.inria
Message-ID <[email protected]>
Gerd Stolpmann wrote:
> Am Mittwoch, den 20.04.2005, 22:00 +0200 schrieb Christophe TROESTLER:
>>Also, why not distinguish simple parameters (for which a method that returns a
>>string is sufficient) and file uploads (for which one clearly wants
>>more flexibility).
> 
> Because this is bullshit.

Oh, by the way, ocamlnet does not work with form data sent by Acrobat Reader, 
which POSTs its application/vnd.fdf responses an then runs into
                  | _ ->
                       failwith "Netcgi.std_activation: unknown Content-type";

Xforms 1.0 allows multipart/related and application/xml, WHATWG Web Forms 2.0 
specify application/x-www-form+xml, text/plain, as well as any legal MIME type 
as possible in POSTs, too. So something should be done here.

Yours, Florian Hars.


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728