[whatwg] Re: Radio UserLand: Mail from Ian Hickson

On 4/22/05, radio at spam.hixie.ch <radio at spam.hixie.ch> wrote:

> You write "If JavaScript is going to be an appropriate technology of intermediation, would
>  it make sense for it to offer an easy way to issue a non-interactive HTTP POST?"
>
> Yes, it would. I urge you to send your suggestions to whatwg at whatwg.org, where
>  we're discussing this kind of thing and writing specs that browsers will be implementing.

OK. Then I do propose an easy way to issue a non-interactive HTTP POST. 

As to how, I'm probably the wrong guy to propose something. My first
thought was that,  if  a list were assigned to location.href, then the
base URL would be the first element and the URL-encoded data the
second. This maps to how curl and Python work. But a problem here is
that POST is only implicit, so what about PUT, DELETE, etc.?

Perhaps one could make a case that POST is important enough to be
included in the most basic idiom, along with GET, and for other stuff
there's an advanced idiom?

- Jon

Received on Friday, 22 April 2005 07:40:56 UTC