feat: support 'requestTimeout' option#136
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.