StatusLine.cc
Go to the documentation of this file.
35Http::StatusLine::set(const AnyP::ProtocolVersion &newVersion, const Http::StatusCode newStatus, const char *newReason)
119 debugs(57, 9, "HTTP/" << version.major << "." << version.minor << " " << packedStatus << " " << packedReason);
std::ostream & CurrentException(std::ostream &os)
prints active (i.e., thrown but not yet handled) exception
Definition: TextException.cc:88
Definition: ProtocolVersion.h:24
static void ParseResponseStatus(Tokenizer &, StatusCode &code)
Definition: ResponseParser.cc:86
bool parse(const String &protoPrefix, const char *start, const char *end)
Definition: StatusLine.cc:124
void set(const AnyP::ProtocolVersion &newVersion, Http::StatusCode newStatus, const char *newReason=nullptr)
Definition: StatusLine.cc:35
const char * reason() const
retrieve the reason string for this status line
Definition: StatusLine.cc:44
Definition: Packable.h:53
void appendf(const char *fmt,...) PRINTF_FORMAT_ARG2
Append operation with printf-style arguments.
Definition: Packable.h:61
thrown by modern "incremental" parsers when they need more data
Definition: forward.h:18
Definition: Tokenizer.h:30
Definition: SquidString.h:26
AnyP::ProtocolVersion ProtocolVersion()
Protocol version to use in Http::Message structures wrapping FTP messages.
Definition: Elements.cc:24
const char * StatusCodeString(const Http::StatusCode status)
Definition: StatusCode.cc:15
AnyP::ProtocolVersion ProtocolVersion(unsigned int aMajor, unsigned int aMinor)
HTTP version label information.
Definition: ProtocolVersion.h:19
Definition: parse.c:160