QuestionQ29

VerifiedNetwork Programming

Select the true statements regarding this invocation:

r = requests.get('http://localhost:3000')  
Choose two
Explanation

In an HTTP URL, localhost refers to the local host and the number following the colon specifies the destination port. Requests timeouts are configured with the separate timeout argument, not by the URL port.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!