Menu

Unsuccessful server response code of: 413 (Request Entity Too Large)

2014-07-07
2014-07-09
  • Ben Michaud

    Ben Michaud - 2014-07-07

    I set up the "Multi-File Upload with Progress Bars and Drag and Drop" example in my GWT application, and I am getting this response from the server immediately: "Upload of the file file_name.txt failed due to [HTTP_ERROR]: Unsuccessful server response code of: 413". When I looked up the meaning of this error here: (http://www.askapache.com/htaccess/apache-status-code-headers-errordocument.html), it describes it as follows: "The requested resource /e/413 does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit."

    How do I change GWTUploader to use a POST instead of a GET on submission?

     
  • Shawn Quinn

    Shawn Quinn - 2014-07-07

    GWT Uploader should already use POST by default. You can take a look at the "nativeStartAjaxUpload()" method in Uploader.java for more specifics on how the HTTP request if formulated.

     
  • Ben Michaud

    Ben Michaud - 2014-07-09

    Thanks. I solved my issue. Apparently, the file size limit was reached every time.

     

Log in to post a comment.