What is the maximum file upload size with xmlhttprequest level 2?(xmlhttprequest 级别 2 的最大文件上传大小是多少?)
本文介绍了xmlhttprequest 级别 2 的最大文件上传大小是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用 HTML5 的 xmlhttprequest 级别 2 的最大文件上传大小是多少?
What is the maximum file upload size with xmlhttprequest level 2 with HTML5?
推荐答案
XMLHttpRequest 规范 没有提到对上传大小的任何限制.
The XMLHttpRequest specification does not mention any limits on the upload size.
实际上,上传请求受限于:
In practise, upload requests are limited by:
- 同时上传的数量:如何流行的浏览器允许许多并发 AJAX (XmlHttpRequest) 请求?
- 网络服务器上配置的限制,例如.
LimitRequestBody
在 Apache 上,client_max_body_size
. - 服务器端脚本环境的限制,例如
upload_max_filesize
和post_max_size
在 PHP 中. - 内存限制(错误,客户端或服务器端).
- The number of simultaneous uploads: How many concurrent AJAX (XmlHttpRequest) requests are allowed in popular browsers?
- The configured limit on the web server, eg.
LimitRequestBody
on Apache,client_max_body_size
on Nginx. - The limits in the server-side scripting environment, e.g.
upload_max_filesize
andpost_max_size
in PHP. - Memory limits (bugs, client-side or server-side).
另见:
- 使用 XmlHttpRequest 发送文件:流式传输?
这篇关于xmlhttprequest 级别 2 的最大文件上传大小是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
沃梦达教程
本文标题为:xmlhttprequest 级别 2 的最大文件上传大小是多少?


基础教程推荐
猜你喜欢
- Javascript 在多个元素上单击事件侦听器并获取目标 2022-01-01
- Node.js 有没有好的索引/搜索引擎? 2022-01-01
- 如何使用 CSS 显示和隐藏 div? 2022-01-01
- 为什么我在 Vue.js 中得到 ERR_CONNECTION_TIMED_OUT? 2022-01-01
- jQuery File Upload - 如何识别所有文件何时上传 2022-01-01
- 如何使用sencha Touch2在单页中显示列表和其他标签 2022-01-01
- WatchKit 支持 html 吗?有没有像 UIWebview 这样的控制器? 2022-01-01
- 什么是不使用 jQuery 的经验技术原因? 2022-01-01
- 每次设置弹出窗口的焦点 2022-01-01
- 如何在特定日期之前获取消息? 2022-01-01