W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] Re: FormImplementation interface

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 27 Aug 2004 11:03:09 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0408271050050.22423@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 27 August 2004 04:03:09 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC