| 165 | } |
| 166 | |
| 167 | string CurlHttpRequest::EscapeString(const string& str) { |
| 168 | char* out_char_str = libcurl_->curl_easy_escape(curl_, str.c_str(), 0); |
| 169 | string out_str(out_char_str); |
| 170 | libcurl_->curl_free(out_char_str); |
| 171 | return out_str; |
| 172 | } |
| 173 | |
| 174 | void CurlHttpRequest::SetUri(const string& uri) { |
| 175 | CheckNotSent(); |