]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/tests/stub_HttpReply.cc
2 * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
10 #include "HttpReply.h"
12 #define STUB_API "HttpReply.cc"
13 #include "tests/STUB.h"
15 HttpReply::HttpReply() : Http::Message(hoReply
), date (0), last_modified (0),
16 expires(0), surrogate_control(nullptr), keep_alive(0),
17 protoPrefix("HTTP/"), do_clean(false), bodySizeMax(-2), content_range(nullptr)
19 HttpReply::~HttpReply() STUB
20 void HttpReply::setHeaders(Http::StatusCode status
, const char *reason
, const char *ctype
, int64_t clen
, time_t lmt
, time_t expires_
) STUB
21 void HttpReply::packHeadersUsingFastPacker(Packable
&) const STUB
22 void HttpReply::packHeadersUsingSlowPacker(Packable
&) const STUB
23 void HttpReply::reset() STUB
24 void httpBodyPackInto(const HttpBody
*, Packable
*) STUB
25 bool HttpReply::sanityCheckStartLine(const char *buf
, const size_t hdr_len
, Http::StatusCode
*error
) STUB_RETVAL(false)
26 int HttpReply::httpMsgParseError() STUB_RETVAL(0)
27 bool HttpReply::expectingBody(const HttpRequestMethod
&, int64_t&) const STUB_RETVAL(false)
28 bool HttpReply::parseFirstLine(const char *start
, const char *end
) STUB_RETVAL(false)
29 void HttpReply::hdrCacheInit() STUB
30 HttpReply
* HttpReply::clone() const STUB_RETVAL(NULL
)
31 bool HttpReply::inheritProperties(const Http::Message
*aMsg
) STUB_RETVAL(false)
32 HttpReply::Pointer
HttpReply::recreateOnNotModified(const HttpReply
&) const STUB_RETVAL(nullptr)
33 int64_t HttpReply::bodySize(const HttpRequestMethod
&) const STUB_RETVAL(0)
34 const HttpHdrContRange
*HttpReply::contentRange() const STUB_RETVAL(nullptr)
35 void HttpReply::configureContentLengthInterpreter(Http::ContentLengthInterpreter
&) STUB