rest/webforms: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (Reverted edits by CalieRbocc (Talk) to last version by ChristopheDucamp)
(3 intermediate revisions by 3 users not shown)
(No difference)

Latest revision as of 20:59, 20 December 2008

Forms Browser Support

For reasons of (apparently) sheer inertia, HTML4 did not require browsers to support HTTP verbs 'PUT' and 'DELETE' in forms. This is arguably a horrible oversight, and certainly a sticking point for REST-in-a-browser.


HTML UAs only support two verbs, POST and GET, per HTML4 spec.

The new WebForms 2.0 spec extends it and allows using multiple verbs:

This spec is not part of W3C work, although W3C acknowledged it:


We propose to work with Firefox and Safari to get them to section 5.6.1 of Web Forms 2.0 (which hopefully will push IE to do so as well). While that will not solve the legacy problem, it will at least allow developers to write to this paradigm, even if they have to fake it in some cases for backwards compatibility.


Compatible versions

Bugs & Patches

  • Firefox ?
  • Safari ?
  • Internet Explorer ?


AFAIK, there are no plans to implement Web Forms 2.0 in MSIE natively, but there is an effort to provide a JS-powered implementation:

Other Relevant WebForms Enhancements

2.4 Extensions to the input element
2.5. Extensions to existing attributes

> and allow to specify the allowed content-type for file upload, and so on.

2.15. Extensions to file upload controls
5.6.1. For http actions