Status code handling in response