0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd::http: Minor definition section labels.

This commit is contained in:
Jason Volk 2018-10-14 02:40:22 -07:00
parent 5e35e0593a
commit d4d121f6c3

View file

@ -746,6 +746,10 @@ ircd::http::throw_error(const qi::expectation_failure<const char *> &e,
};
}
//
// error
//
ircd::http::error::error(const http::code &code,
std::string content,
const vector_view<const header> &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)
{