Changing HTTP error code handling.