From d4d121f6c3cb44265e67ccdbfe8dec04a1df221a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 14 Oct 2018 02:40:22 -0700 Subject: [PATCH] ircd::http: Minor definition section labels. --- ircd/http.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ircd/http.cc b/ircd/http.cc index 19f74b7b0..529dd61d8 100644 --- a/ircd/http.cc +++ b/ircd/http.cc @@ -746,6 +746,10 @@ ircd::http::throw_error(const qi::expectation_failure &e, }; } +// +// error +// + ircd::http::error::error(const http::code &code, std::string content, const vector_view &headers) @@ -767,6 +771,10 @@ ircd::http::error::error(const http::code &code, snprintf(buf, sizeof(buf), "%u %s", uint(code), status(code).c_str()); } +// +// status +// + ircd::http::code ircd::http::status(const string_view &str) {