[libapreq] unknown content-type: `application/octet-stream'
silent <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <CAALPCHvTm5_Kxu5Afn_Zie8ZrCccqVYuxOLD=nRRvQ4X3aokWg@mail.gmail.com> |
hi, list
I'm using a javascript ajax file uploader, but get this error with mod_perl1.
the js code is like:
var xhr = new XMLHttpRequest();
xhr.open("POST", queryString, true);
xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
xhr.setRequestHeader("X-File-Name", encodeURIComponent(name));
xhr.setRequestHeader("Content-Type", "application/octet-stream");
xhr.send(file);