diff --git a/libraries/HTTPClient/src/HTTPClient.cpp b/libraries/HTTPClient/src/HTTPClient.cpp index 7e967be9f35..ed44f9e09ed 100644 --- a/libraries/HTTPClient/src/HTTPClient.cpp +++ b/libraries/HTTPClient/src/HTTPClient.cpp @@ -1551,8 +1551,6 @@ void HTTPClient::setCookie(String date, String headerValue) String value; int pos1, pos2; - headerValue.toLowerCase(); - struct tm tm; strptime(date.c_str(), HTTP_TIME_PATTERN, &tm); cookie.date = mktime(&tm);