perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From silent <silent2...@gmail.com>
Subject [libapreq] unknown content-type: `application/octet-stream'
Date Fri, 12 Aug 2011 02:47:14 GMT
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);

Mime
View raw message