StatusCode.h
Go to the documentation of this file.
94 inline bool ProhibitsContentLength(const StatusCode sc) { return sc == scNoContent || Is1xx(sc); }
const char * StatusCodeString(const Http::StatusCode status)
Definition: StatusCode.cc:14
Definition: forward.h:22
bool Is1xx(const int sc)
whether this is an informational 1xx response status code
Definition: StatusCode.h:92
bool ProhibitsContentLength(const StatusCode sc)
whether this response status code prohibits sending Content-Length
Definition: StatusCode.h:94