| 6374 | } |
| 6375 | |
| 6376 | inline bool Server::write_response(Stream &strm, bool close_connection, |
| 6377 | Request &req, Response &res) { |
| 6378 | // NOTE: `req.ranges` should be empty, otherwise it will be applied |
| 6379 | // incorrectly to the error content. |
| 6380 | req.ranges.clear(); |
| 6381 | return write_response_core(strm, close_connection, req, res, false); |
| 6382 | } |
| 6383 | |
| 6384 | inline bool Server::write_response_with_content(Stream &strm, |
| 6385 | bool close_connection, |