Fixed typo error in the HTTPS client implementation

It is ModSecurity not _modesecurity_. Details in issue #1113
This commit is contained in:
Felipe Zimmerle 2016-04-04 13:35:19 -03:00
parent 8d052853a8
commit 85d8b8e9b7

View File

@ -100,7 +100,7 @@ bool HttpsClient::download(const std::string &uri) {
/* we pass our 'chunk' struct to the callback function */
curl_easy_setopt(curl, CURLOPT_WRITEDATA, this);
curl_easy_setopt(curl, CURLOPT_USERAGENT, "modesecurity3");
curl_easy_setopt(curl, CURLOPT_USERAGENT, "ModSecurity3");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers_chunk);
/* We want Curl to return error in case there is an HTTP error code */