From 53846b8f04325fcd087a3576397a77d548c79e17 Mon Sep 17 00:00:00 2001 From: Hyu Date: Tue, 16 Aug 2022 08:54:43 +0800 Subject: [PATCH] Cookie(set-cookie) Value are case sensitive, fix #1554 HTTPClinet::setCookie() headerValue.toLowCase(). (#7112)(#7076) --- libraries/HTTPClient/src/HTTPClient.cpp | 2 -- 1 file changed, 2 deletions(-) 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);