Function enforceHTTP
Utility function that throws a HTTPStatusException if the condition is not met.
T enforceHTTP(T)
(
T condition,
HTTPStatus statusCode,
lazy string message = null,
string file = __FILE__,
typeof(161) line = __LINE__
);