XMLHTTPRequest Issue on behaviour when method not supported

The method parameter of the open method says:

A valid HTTP method name. The GET, POST, PUT, DELETE and HEAD values MUST be 
supported

Nowhere is the behaviour defined for what happens if the methods are not 
supported, the current behaviour in those user agents who only support a 
couple of methods - that of silently transformed into GET, is not much use, 
and I would say very wrong.

Please change it to throw an exception on open if you use a method which is 
not defined, or alternatively provide a property which is the actual method 
going to be used, preferably the exception.

Cheers,

Jim.

Received on Wednesday, 24 May 2006 14:42:18 UTC