Hello list,
new Request.JSON({
url: this.serverSideUri,
method: 'OPTIONS',
async: true,
emulation: false
}).send();
Firebug doesn't tell me anything about this request, only the
response, which I am generating.
Problem seems to be that my server (Apache 2) sees the request's
content-type headers as application/xml.
I have tried adding content-type headers to the request, to no avail -
it would be good for me, at least, if any parameter I pass Request
clases overrode those the class itself defines for the request.
// All ineffective:
headers: {
'content-type' : 'application/json',
'contentType' : 'application/json',
'Content-Type' : 'application/json',
}
Do you want me to post this somewhere else?
Thanks
Lee