Adding response HTTP error codes