| 665 | } |
| 666 | |
| 667 | std::pair<bool, std::string> HTTPRequest::GetHeader(const std::string_view hdr) const |
| 668 | { |
| 669 | std::optional<std::string> found{m_headers.FindFirst(hdr)}; |
| 670 | return std::pair{found.has_value(), std::move(found).value_or("")}; |
| 671 | } |
| 672 | |
| 673 | void HTTPRequest::WriteHeader(std::string&& hdr, std::string&& value) |
| 674 | { |
no test coverage detected