Put the HTTP error codes handling to use.