Re: Toward Closure on HTML
Lou Montulli (montulli@stat1.cc.ukans.edu)
Tue, 5 Apr 94 13:20:01 CDT
>
>
> > From: Dave Raggett <dsr@hplb.hpl.hp.com>
> >
> > What we really need is some work on a MIME multipart/related format
> > for transferring form contents, as the current URL based approach is
> > running out of steam.
>
> Agreed.
>
> We'd probably want to leave FORM method=GET behavior just the way it
> is, and update method=POST.
>
> Support on the server side is easy: CGI scripts accepting POSTs could
> just start branching on the content-type, e.g., processing a new type
> multipart/www-form. A day's worth of hacking.
>
> On the client side, generating multipart/www-form isn't much work
> (factoring out the user interface complexity of supporting image
> scribbles, etc.), but backwards-compatibility is a bear. The only
> way a server can declare format preferences in advance is through
> anchors, really; so the only alternative I see is something like
> a FORM method=POSTMP.
>
There is already a way to define the encoding type. There is an
attribute to the FORM tag called ENCTYPE that is supposed to
specify the post content type. Right now the only valid option
is "application/x-www-form-urlencoded" but we can easily add
mime/multipart.
:lou
--
Montulli@ukanaix.cc.ukans.edu
913/864-0436
University of Kansas
Lawrence, KS 66045 USA