StatusCode.h
Go to the documentation of this file.
96inline bool ProhibitsContentLength(const StatusCode sc) { return sc == scNoContent || Is1xx(sc); }
Definition: forward.h:18
bool ProhibitsContentLength(const StatusCode sc)
whether this response status code prohibits sending Content-Length
Definition: StatusCode.h:96
bool Is1xx(const int sc)
whether this is an informational 1xx response status code
Definition: StatusCode.h:92
bool IsReforwardableStatus(StatusCode)
whether to send the request to another peer based on the current response status code
Definition: StatusCode.cc:281
bool Is4xx(const int sc)
whether this is a client error 4xx response status code
Definition: StatusCode.h:94
const char * StatusCodeString(const Http::StatusCode status)
Definition: StatusCode.cc:15