9#ifndef SQUID_SRC_HTTP_STATUSCODE_H
10#define SQUID_SRC_HTTP_STATUSCODE_H
bool ProhibitsContentLength(const StatusCode sc)
whether this response status code prohibits sending Content-Length
bool Is1xx(const int sc)
whether this is an informational 1xx response status code
@ scVariantAlsoNegotiates
@ scNetworkAuthenticationRequired
@ scHeaderTooLarge
Header too large to process.
@ scUploadResumptionSupported
@ scHttpVersionNotSupported
@ scInvalidHeader
Squid header parsing error.
@ scProxyAuthenticationRequired
@ scUnavailableForLegalReasons
@ scRequestedRangeNotSatisfied
@ scNonAuthoritativeInformation
@ scRequestHeaderFieldsTooLarge
bool IsReforwardableStatus(StatusCode)
whether to send the request to another peer based on the current response status code
bool Is4xx(const int sc)
whether this is a client error 4xx response status code
const char * StatusCodeString(const Http::StatusCode status)