What is the default timeout for AngularJS $ http service requests?

$ Http docs does not mention what is the default timeout in case of undefined.

How to find out what is the default value for this configuration?

+8
angularjs connection-timeout
source share
1 answer

At one time, the default timeout for HTTP requests was 30 seconds, but now many browsers perform a "keep-alive" poll by default, which is why it is not practical. I had http requests that sat for several minutes before the server itself finally gave up and issued a timeout.

+2
source

All Articles