Introduced the HTTP constant

To avoid hardcoding HTTP status codes.
Merge pull request #152 from tooxie/const

Introduced the `HTTP` constant