Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on On incomplete HTTP reads and the requests library in Python. Parent comment
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.
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.