Currently, the file upload part of this (awesome!) library checks for a "204 No Content" status code, and then goes on to read its responseText.
Regardless of whether it is actually possible to send a 204 and also send content (which doesn't seem to be the case on my webserver - but that might be a config thing), I don't think this is correct. Can this perhaps be made configurable, perhaps with a more sensible default like 201?
Currently, the file upload part of this (awesome!) library checks for a "204 No Content" status code, and then goes on to read its
responseText
.Regardless of whether it is actually possible to send a 204 and also send content (which doesn't seem to be the case on my webserver - but that might be a config thing), I don't think this is correct. Can this perhaps be made configurable, perhaps with a more sensible default like 201?
Cheers!