News for hackers. Stuff that matters.
Re:On incomplete HTTP reads and the requests library in Python by icebraining on Monday April 23, 2018 @03:47AM (#16901305)
Except that the status line is literally "HTTP 200 OK", and the 'ok' check is simply using the domain terminology.

Well, not exactly. From the documentation of .ok: "This is not a check to see if the response code is 200 OK."

Technically, it checks if status code is not between 400 and 600.

There are no comments on this comment yet.