Tests use magic numbers
Code cleanup: HTTP requests should be named constants.
Others might feel that HTTP codes are well known enough to not be "magic". I think this would be slight code cleanup but if there's loud objections we can leave it as is.
httplib contains the constants so we can use those.