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:
parent
bee94d2b4c
commit
2f57024e8c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user