| 38 | } |
| 39 | |
| 40 | string statusCodeErrorStr(int code) { |
| 41 | stringstream ss; |
| 42 | ss << "http status code was '" << code << "', wanted 200 OK"; |
| 43 | return ss.str(); |
| 44 | } |
| 45 | |
| 46 | struct CurlWrapperImpl : public CurlWrapper { |
| 47 | CurlWrapperImpl(CURL* h) : handle(h) { |