After a failure using pluploader in this question , I am trying FineUploader now.
After reading in CORS, I implemented various headers on my IIS6 server.
It looks like my script is launching the first ( preflight ) authorization request, which does not work, but Chrome allows the second ( standard ) request for sending anyway - Firefox does not. I suppose this is actually a bug on behalf of Chrome, but at least it allowed me to understand that my script is probably working correctly.
Here is the first (pre-flight) request, as shown in Chrome and FF:
OPTIONS /frog/LOTS/upload/php.php HTTP/1.1 Host: staff.curriculum.local User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive Origin: http://frogserver.curriculum.local Access-Control-Request-Method: POST Access-Control-Request-Headers: cache-control,x-requested-with Pragma: no-cache Cache-Control: no-cache
Access-Control... headers Access-Control... are the ones I added to IIS.
And here are my response headers:
HTTP/1.1 403 Forbidden Content-Length: 1758 Content-Type: text/html Server: Microsoft-IIS/6.0 x-powered-by: ASP.NET Access-Control-Allow-Origin: http://frogserver.curriculum.local Access-Control-Allow-Credentials: true Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Cache-Control Access-Control-Allow-Methods: OPTIONS, GET, POST Access-Control-Expose-Headers: Origin, X-Requested-With Date: Mon, 22 Apr 2013 15:19:20 GMT
I tried to compare the two side by side, but I can not find the missing headers that would preflight request to return a 403 Forbidden error.

I did not include my PHP source as it has a lot of code. Suffice it to say that it works in Chrome and that the file is loaded correctly, so the script must be correct. The only thing worth mentioning is that I have a header("Content-Type: text/plain"); at the beginning of my script. Changing this parameter to text/html has nothing to do with Chrome and FireFox.
JavaScript is pretty simple:
$('#jquery-wrapped-fine-uploader').fineUploader({ request: { endpoint: 'http://staff.curriculum.local/frog/LOTS/upload/php.php' }, cors: { expected: true,
Can anyone help? I spent literally 8 hours on this one problem today, and I'm → <close to tearing my face .... !!
Thanks in advance,