You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into this as well. It looks like, for reasons unknown to god or man ... I guess lighttpd backwards compat ... the default behavior for the nginx upload module is to serve the data as 'Java Fomat'. Check this out:
PS. I guess I should file a pull request with the nginx-upload-mod people to make the behavior clearer in the doc. Do you have a vote if the default behavior should be JSON or JSONP? I can't decide.
It does not triggering the success event in the Firfox because of the JSON data type. The nginx returns:
new Object({ 'state' : 'uploading', 'received' : 72437, 'size' : 56476961 })
My workaround is to change hardcoded datatype:
options = $.extend({
dataType: "text",
And evalute the response in success handler:
The text was updated successfully, but these errors were encountered: