| OLD | NEW |
| 1 #include <sstream> | 1 #include <sstream> |
| 2 #include <cctype> | 2 #include <cctype> |
| 3 #include <algorithm> | 3 #include <algorithm> |
| 4 #include <curl/curl.h> | 4 #include <curl/curl.h> |
| 5 #include <AdblockPlus/WebRequest.h> | 5 #include <AdblockPlus/DefaultWebRequest.h> |
| 6 | 6 |
| 7 namespace | 7 namespace |
| 8 { | 8 { |
| 9 struct HeaderData | 9 struct HeaderData |
| 10 { | 10 { |
| 11 int status; | 11 int status; |
| 12 bool expectingStatus; | 12 bool expectingStatus; |
| 13 std::vector<std::string> headers; | 13 std::vector<std::string> headers; |
| 14 | 14 |
| 15 HeaderData() | 15 HeaderData() |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 } | 164 } |
| 165 } | 165 } |
| 166 } | 166 } |
| 167 | 167 |
| 168 if (headerList) | 168 if (headerList) |
| 169 curl_slist_free_all(headerList); | 169 curl_slist_free_all(headerList); |
| 170 curl_easy_cleanup(curl); | 170 curl_easy_cleanup(curl); |
| 171 } | 171 } |
| 172 return result; | 172 return result; |
| 173 } | 173 } |
| OLD | NEW |