Use named constants for HTTP response codes.