From: Fabian Keil <fk@fabiankeil.de>
Date: Sat, 14 Jul 2007 07:31:26 +0000 (+0000)
Subject: Add new csp->content_type flag (CT_DECLARED).
X-Git-Tag: v_3_0_7~206
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/@default-cgi@toggle?a=commitdiff_plain;h=36c60c8da0470adf7ba7fbc5943ed848dbd7d3c5;p=privoxy.git

Add new csp->content_type flag (CT_DECLARED).
---

diff --git a/project.h b/project.h
index 88f303ac..6ef421c4 100644
--- a/project.h
+++ b/project.h
@@ -1,7 +1,7 @@
 #ifndef PROJECT_H_INCLUDED
 #define PROJECT_H_INCLUDED
 /** Version string. */
-#define PROJECT_H_VERSION "$Id: project.h,v 1.96 2007/05/14 10:41:15 fabiankeil Exp $"
+#define PROJECT_H_VERSION "$Id: project.h,v 1.97 2007/05/27 12:38:08 fabiankeil Exp $"
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/project.h,v $
@@ -37,6 +37,11 @@
  *
  * Revisions   :
  *    $Log: project.h,v $
+ *    Revision 1.97  2007/05/27 12:38:08  fabiankeil
+ *    - Remove some left-overs from the switch to dedicated header filters.
+ *    - Adjust "X-Filter: No" to disable dedicated header filters.
+ *    - Prepare for forward-override{}
+ *
  *    Revision 1.96  2007/05/14 10:41:15  fabiankeil
  *    Ditch the csp member cookie_list[] which isn't used anymore.
  *
@@ -957,6 +962,13 @@ struct iob
 #define CT_GZIP    0x0010U /**< gzip-compressed data. */
 #define CT_DEFLATE 0x0020U /**< zlib-compressed data. */
 
+/**
+ * Flag to signal that the server declared the content type,
+ * so we can differentiate between unknown and undeclared
+ * content types.
+ */
+#define CT_DECLARED 0x0040U
+
 /**
  * The mask which includes all actions.
  */