Validating response with the header