StatusCode.h
Go to the documentation of this file.
98 inline bool ProhibitsContentLength(const StatusCode sc) { return sc == scNoContent || Is1xx(sc); }
const char * StatusCodeString(const Http::StatusCode status)
Definition: StatusCode.cc:15
Definition: forward.h:17
bool Is1xx(const int sc)
whether this is an informational 1xx response status code
Definition: StatusCode.h:94
bool Is4xx(const int sc)
whether this is a client error 4xx response status code
Definition: StatusCode.h:96
bool ProhibitsContentLength(const StatusCode sc)
whether this response status code prohibits sending Content-Length
Definition: StatusCode.h:98
bool IsReforwardableStatus(StatusCode)
whether to send the request to another peer based on the current response status code
Definition: StatusCode.cc:281
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products