mirror of
https://github.com/esphome/esphome.git
synced 2025-09-14 17:22:20 +01:00
[http_request]Use std::string for headers (#8225)
This commit is contained in:
@@ -124,7 +124,7 @@ void OnlineImage::update() {
|
||||
default:
|
||||
accept_mime_type = "image/*";
|
||||
}
|
||||
accept_header.value = (accept_mime_type + ",*/*;q=0.8").c_str();
|
||||
accept_header.value = accept_mime_type + ",*/*;q=0.8";
|
||||
|
||||
headers.push_back(accept_header);
|
||||
|
||||
|
Reference in New Issue
Block a user