[whatwg] Web Forms 2.0

In the Web Forms 2.0 Working Draft dated 16 March 2005

   5.6. Submitting the encoded form data set[1]


    "If the specified method is not one of get, post, 
     put, or delete then it is treated as get in the tables below."

It would be much better if just one word of that sentence was changed:

    "If the specified method is not one of get, post, 
     put, or delete then it is treated as *post* in the tables below."

There are quite a few verbs defined for HTTP and many beyond
the standard 4 (GET, PUT, POST, and DELETE) take a 
request body. For example, in basic HTTP OPTIONS can have a request 
body. In addition WebDAV defines a raft of new HTTP methods
that have request bodies. The ability to support those and other methods using
Web Forms 2.0 would be possible if this is changed to *post*. Treating
all unknown methods as *get* would lock out any methods in the future
that required a request body, such as OPTIONS.

   Thanks,
   -joe

[1]  http://whatwg.org/specs/web-forms/current-work/#methodAndEnctypes

-- 
Joe Gregorio        http://bitworking.org

Received on Friday, 25 March 2005 21:03:35 UTC