| 4514 | } |
| 4515 | |
| 4516 | inline size_t Request::get_header_value_count(const char* key) const { |
| 4517 | auto r = headers.equal_range(key); |
| 4518 | return static_cast<size_t>(std::distance(r.first, r.second)); |
| 4519 | } |
| 4520 | |
| 4521 | inline void Request::set_header(const char* key, const char* val) { |
| 4522 | if (!detail::has_crlf(key) && !detail::has_crlf(val)) { |
nothing calls this directly
no outgoing calls
no test coverage detected