[html5] PUT and DELETE methods in html5 forms

Anthony Ettinger anthony at chovy.com
Fri Aug 24 14:00:20 PDT 2007

On 8/24/07, Jon Barnett <jonbarnett at gmail.com> wrote:
> On 8/24/07, Andrew Baine <andrew.baine at gmail.com> wrote:
> >
> > Hi, I was wondering if it will be specified how a client will construct
> > requests from forms with method="PUT" and method="DELETE".  I understand
> how
> > method="GET" form information is encoded into the query string and
> > method="POST" form information is encoded into the message body, but I
> was
> > wondering about PUT and DELETE.  How is form information to be encoded
> in
> > forms with these methods -- like GET, POST, or some other way?
> >
> > Thanks in advance for any help,
> >
> > Andrew
> >
> >
> It's specified differently based on the type of URI (http, ftp, file,
> etc), but you'd be interested in starting here:
> http://www.whatwg.org/specs/web-forms/current-work/#for-http

I am curious why nything other than get or post is needed. Certainly the
action "CRUD" etc. can be any number of things....why have a seperate
"delete" method?

I didn't find much on reasoning from the link.

Anthony Ettinger
Ph: 408-656-2473
var (bonita, farley) = new Dog;
farley.barks("very loud");
bonita.barks("at strangers");

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20070824/61f0d364/attachment-0002.htm>

More information about the Help mailing list