This rescue block should be up at line ~92 as it only relevant to the send_request_cgi method.