add http_response_code condition