/*
- * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
#include "http/one/forward.h"
+#define HTTP_REQBUF_SZ 4096
+
namespace Http
{
-class StreamContext;
-typedef RefCount<Http::StreamContext> StreamContextPointer;
+class ContentLengthInterpreter;
+
+class Message;
+typedef RefCount<Http::Message> MessagePointer;
+
+class Stream;
+typedef RefCount<Http::Stream> StreamPointer;
} // namespace Http
-// TODO move these classes into Http namespace
+// TODO move these into Http namespace
+
+typedef enum {
+ SC_NO_STORE,
+ SC_NO_STORE_REMOTE,
+ SC_MAX_AGE,
+ SC_CONTENT,
+ SC_OTHER,
+ SC_ENUM_END /* also used to mean "invalid" */
+} http_hdr_sc_type;
+
+class HttpHdrSc;
+
class HttpRequestMethod;
-typedef RefCount<HttpRequestMethod> HttpRequestMethodPointer;
class HttpRequest;
typedef RefCount<HttpRequest> HttpRequestPointer;