| 140 | return m_body; |
| 141 | } |
| 142 | inline void response::add_header(std::string name, std::string const& value) |
| 143 | { |
| 144 | std::transform(name.begin(), name.end(), name.begin(), ::tolower); |
| 145 | m_headers.emplace_back(std::move(name), value); |
| 146 | } |
| 147 | |
| 148 | inline void response::append_body(const char* p, size_t sz) |
| 149 | { |
no test coverage detected