mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +00:00
[http_request] get_response_headers not const
This commit is contained in:
parent
6ccfda7aba
commit
30626adc5b
@ -101,7 +101,7 @@ class HttpContainer : public Parented<HttpRequestComponent> {
|
||||
*
|
||||
* @return The key is the lower case response header name, the value is the header value.
|
||||
*/
|
||||
const std::map<std::string, std::list<std::string>> &get_response_headers() const { return this->response_headers_; }
|
||||
std::map<std::string, std::list<std::string>> get_response_headers() { return this->response_headers_; }
|
||||
|
||||
std::string get_response_header(const std::string &header_name);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user