You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
the timeout that can be specified in the options only applies to the connection/first-byte response time, but not to the overall response time. if the caller wants to limit the time fetch spends downloading a resource, this is not possible.
The current behaviour is consistent with request, phin and other HTTP client modules, i.e. the timeout only applies up to the point where the response headers are received. I therefore don't consider it a bug.
Due to these shortcomings I have deprecated the non-standard timeout option and provided the standard API AbortController as a standard-compliant alternative, see #64.
Description
the
timeout
that can be specified in theoptions
only applies to the connection/first-byte response time, but not to the overall response time. if the caller wants to limit the time fetch spends downloading a resource, this is not possible.To Reproduce
Expected behavior
the request should timeout and the test should pass.
The text was updated successfully, but these errors were encountered: