From: jongfoster Date: Thu, 13 Sep 2001 23:52:00 +0000 (+0000) Subject: Support for both static and dynamically generated CGI pages X-Git-Tag: v_2_9_9~90 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=e97ab93c25bbff1a08279c35fc4c77855d909585 Support for both static and dynamically generated CGI pages --- diff --git a/project.h b/project.h index 25ee7213..c1770d4a 100644 --- a/project.h +++ b/project.h @@ -1,6 +1,6 @@ #ifndef PROJECT_H_INCLUDED #define PROJECT_H_INCLUDED -#define PROJECT_H_VERSION "$Id: project.h,v 1.28 2001/09/13 23:05:50 jongfoster Exp $" +#define PROJECT_H_VERSION "$Id: project.h,v 1.29 2001/09/13 23:29:43 jongfoster Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/project.h,v $ @@ -36,6 +36,9 @@ * * Revisions : * $Log: project.h,v $ + * Revision 1.29 2001/09/13 23:29:43 jongfoster + * Defining FORWARD_SPEC_INITIALIZER + * * Revision 1.28 2001/09/13 23:05:50 jongfoster * Changing the string paramater to the header parsers a "const". * @@ -350,7 +353,9 @@ struct http_response char *head; /* Formatted http response head */ int head_length; /* Length of http response head */ char *body; /* HTTP document body */ - int content_length; /* Length of body, REQUIRED if binary body*/ + int content_length; /* Length of body, REQUIRED if binary body */ + int is_static; /* Nonzero if the content will never change and + * should be cached by the broser (e.g. images) */ }; /* A URL pattern */