Introduced the HTTP constant

To avoid hardcoding HTTP status codes.