What is the maximum file upload size with xmlhttprequest level 2?

混江龙づ霸主 提交于 2019-11-28 09:07:01

问题


What is the maximum file upload size with xmlhttprequest level 2 with HTML5?


回答1:


The XMLHttpRequest specification does not mention any limits on the upload size.

In practise, upload requests are limited by:

  1. The number of simultaneous uploads: How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers?
  2. The configured limit on the web server, eg. LimitRequestBody on Apache, client_max_body_size on Nginx.
  3. The limits in the server-side scripting environment, e.g. upload_max_filesize and post_max_size in PHP.
  4. Memory limits (bugs, client-side or server-side).

See also:

  • Send a file with XmlHttpRequest: Streaming?


来源:https://stackoverflow.com/questions/9004544/what-is-the-maximum-file-upload-size-with-xmlhttprequest-level-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!