test http_response_write