[mochikit] Re: postSimpleXMLHttpRequest (Was: GET vs POST in MochiKit.Async)

2005-12-26 Thread Ian Bicking
On 12/26/05, Robin Munn [EMAIL PROTECTED] wrote: Could we get a postSimpleXMLHttpRequest() function, like the one Ian wrote above, into MochiKit? Well, almost like the one Ian wrote above -- it does URL-encoding of the POST body, and I'd like to see JSON encoding, if possible. The reason

[mochikit] Re: postSimpleXMLHttpRequest (Was: GET vs POST in MochiKit.Async)

2005-12-26 Thread Bob Ippolito
On Dec 26, 2005, at 11:32 AM, Ian Bicking wrote: On 12/26/05, Robin Munn [EMAIL PROTECTED] wrote: Could we get a postSimpleXMLHttpRequest() function, like the one Ian wrote above, into MochiKit? Well, almost like the one Ian wrote above -- it does URL-encoding of the POST body, and I'd like

[mochikit] Re: postSimpleXMLHttpRequest (Was: GET vs POST in MochiKit.Async)

2005-12-26 Thread Robin Munn
On 12/26/05, Bob Ippolito [EMAIL PROTECTED] wrote: The thing about non-GET is that there's so many things to specify: - URL - Pass parameters on the query string - Set headers - Payload encoding: URL encoding, XML, JSON, raw data - Method (PROPLIST, etc.) What would an API like this look