How does the `http` module handle HTTP 100 responses?

Responsive Ad Header

Question

Grade: Education Subject: Support
How does the `http` module handle HTTP 100 responses?
Asked by:
53 Viewed 53 Answers
Responsive Ad After Question

Answer (53)

Best Answer
(346)
Python's `http` module (or libraries like `requests`) generally handles HTTP 100 responses by continuing to process the request. It doesn't typically raise an exception. The error is usually indicated by the lack of a complete response body and the 'Continue' status code. You might need to manually check for the 'Continue' header in your code.