I am trying figure out the best way to retrieve the contents from a GET http request with using a timeout. I spent a good amount of time trying to figure out the best approach, but I am a little unsure.
Basically I just want to have an option that will return None if the response does not come before the timeout, otherwise return the contents.
Thanks