mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +00:00
[http_request] return a new string
This commit is contained in:
parent
3f7e4ddfa5
commit
713944a075
@ -36,7 +36,7 @@ std::string HttpContainer::get_response_header(const std::string &header_name) {
|
||||
} else {
|
||||
ESP_LOGD(TAG, "Header with name %s found", header_name_lower_case.c_str());
|
||||
ESP_LOGD(TAG, "Header with name %s found with value %s", header_name_lower_case.c_str(), values.front().c_str());
|
||||
return values.front();
|
||||
return values.front() + "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user