Easy HTTP status codes in Python
Briefly

the single most useful test you can add to your test suite, and the very first one you should always add, is just a test case that makes a request to a URL (often, the home page or root URL), and verifies that it receives a response with an HTTP status code of 200 OK.
without looking it up, which of 301 and 302 is the permanent redirect and which is the temporary? What do 307 and 308 mean?
Read at B-list
[
add
]
[
|
|
]