changed send_request_raw to send_request_cgi