Disable timeout for browsers without `uploadProgress` capability
See original GitHub issueAs noted by the OP in #945 EdgeHTML versions 15.15063 to 18.18218 fail any upload that takes more than 30 seconds.
Could we use the new capabilities.uploadProgress
from #1184 to disable timeout for these clients?
Another strategy could be to polyfill the missing Edge behavior (periodically check bytes-uploaded
field from XHR instance and manually trigger change event) but that might be a bit too intrusive.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Does browser timeout on huge request? - Stack Overflow
Assume the server has no limit on the size of file upload, it just keeps engulfing data. Will the browser work earnestly for...
Read more >The Power of Axios - Bits and Pieces
However, Axios provides a range of advanced features not known by many ... for upload progress; Response timeout; Ability to cancel requests ...
Read more >XMLHttpRequest vs the Fetch API for Ajax - SitePoint
Weighing up whether to keep using XMLHttpRequest vs the Fetch API's modern take? We look at the pros and cons of both options....
Read more >Runtime Configuration - Manual - PHP
Note that this is not supported by all browsers. An empty value means that no ... See Session Upload Progress for more details...
Read more >XMLHttpRequest - The Modern JavaScript Tutorial
XMLHttpRequest is a built-in browser object that allows to make HTTP ... no Content-Length } }; xhr.onerror = function() { alert("Request ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you! 😃
Thinking about it
responseText.length
won’t work because that’s the response size, not the upload size 😅