I am running into issues with upload_success_handler being fired even
if the status code from the server does not match the status code
specified in the config option 'http_success'. Is that expected
behavior?
SwfUpload does seem to be calling the upload_error_handler for 4xx
style responses.
I tried digging to see if I could use the second parameter, 'server
data' in the uploadSuccess handler (
http://demo.swfupload.org/
Documentation/#uploadSuccess) but I would really like to avoid parsing
that string to figure out the actual status code and then fire an
error.
The provider I am uploading to sometimes fires 2xx style responses for
error as well and I need to consider all 2xx responses other than a
particular one as failures.