There is very little "explanation" in your reply, which (if your intention was to provide additional information / suggestions to the OP) should either be posted under the original post, or should simply state the fact that it is addressed to someone else that the author of the post you are replying to.
If you would take the time to read the docs I've linked to, you would notice that the OP probably needs both the maximum time and the socket timeout option. The latter will be needed to satisfy the API requirements, while the former could be necessary to satisfy OP's requirement to "manage the amount of data received by the script".
Not everything is "obvious and self-evident", but taking the time to read the nodes you are replying to, and taking the time to make your replies clear in their meaning and relevant to the point would be a step in this direction.
- Luke
In reply to Re^8: How to make an HTTP request with an equivalent of curl's --max-time?
by blindluke
in thread How to make an HTTP request with an equivalent of curl's --max-time?
by Cody Fendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |