[whatwg] Re: FormImplementation interface
Ian Hickson
ian at hixie.ch
Fri Aug 27 04:03:09 PDT 2004
On Sun, 22 Aug 2004, [ISO-8859-1] Olav Junker Kjær wrote:
> > >
> > > If this is the case, why only allow POST and PUT as methods? Why not allow
> > > GET and DELETE also?
> >
> > Why do you think only POST and PUT are allowed? Any method is allowed.
>
> The spec says (section 7.13):
>
> method (loadWithBody and loadWithDocument only)
> The method (e.g. for HTTP actions, 'POST', 'PUT') used to load the URI. If
> a null value, or a value that is not one of post or put, is passed to the
> method instead, the default value post is assumed.
>
> This seems to indicate that only post and put is allowed, or am I misreading
> it?
"e.g." means "for example".
But in any case, I've now removed the entire FormImplementation interface,
in favour of XMLHttpRequest in the Web Apps draft now. (There wasn't
anything that it could do which XMLHttpRequest couldn't do better, except
that it was one call, and we can always define a wrapper for
XMLHttpRequest later if required.)
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list