Maximum length of HTTP GET request code example
Example: how much time can http request take maximum
The default time out value is 30 seconds. Thus, by default, the server will close the connection if idle for more than 30 seconds. The maximum value for this parameter is 300 seconds (5 minutes).