Revert "Refactoring response to use HttpStatusCode instead of an int"

This reverts commit 9169c4e66745e546d768a26de356ca807a9cb13a.