0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 04:02:15 +02:00

HTTP::HeaderList: added get_value_trim_lower() method

Signed-off-by: James Yonan <james@openvpn.net>
This commit is contained in:
James Yonan 2017-08-19 00:12:21 -06:00 committed by Antonio Quartulli
parent bee94d2b4c
commit 2f57024e8c

View File

@ -92,6 +92,11 @@ namespace openvpn {
return string::trim_copy(get_value(key));
}
std::string get_value_trim_lower(const std::string& key) const
{
return string::to_lower_copy(get_value_trim(key));
}
std::string to_string() const
{
std::ostringstream out;