-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support 'requestTimeout' option #136
base: master
Are you sure you want to change the base?
Conversation
You'd better use a more general name, like BTW, what time is your |
I have renamed the Why we need such option? |
Have you confirmed that a slow download (where the response header is received) won't cause a timeout in XHR? |
Thanks for pointing out my mistake. According to the XHR Standard https://xhr.spec.whatwg.org/#the-timeout-attribute, even if a response header is received, a timeout error will be dispatched as long as the request has not been completed, and I have already tested such situation. |
No description provided.