Results 1 to 2 of 2

Thread: File upload

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User R56's Avatar
    Join Date
    Mar 2011

    Default File upload


    Long story short: callback of file upload request doesn't work when the upload response is http request code 204: No Content. Request is being done and everything goes great until:'load', Ext.Function.bind(this.onUploadComplete, this, [frame, options]), null, {single: true});
    in upload method of
    The onUploadComplete is never fired because... surprise, surprise - the load event is never fired because its never loaded because it's standard way of dealing with No Content responses.
    I don't know if there even is workaround for this workaround or not. html5 ftw...

    Best regards,

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    Why not return a 200?
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:

    Posts are my own, not any current, past or future employer's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts