Update of /cvsroot/mod-xhtml-neg/mod_xhtml_neg
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16464
Modified Files:
mod_xhtml_neg.c
Log Message:
Added comment to explain why we send Vary or Cache-control headers even if we don't find a match.
Index: mod_xhtml_neg.c
===================================================================
RCS file: /cvsroot/mod-xhtml-neg/mod_xhtml_neg/mod_xhtml_neg.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** mod_xhtml_neg.c 8 Mar 2004 10:13:07 -0000 1.5
--- mod_xhtml_neg.c 8 Mar 2004 20:52:20 -0000 1.6
***************
*** 79,82 ****
--- 79,83 ----
* 0.7 Added profile handling, fixed up default charset for text/xml
* 0.8 First public release.
+ * 0.81 Clean up todos and add some more. Look at ETag issue.
*
* Todo:
***************
*** 1045,1048 ****
--- 1046,1053 ----
}
+ /* Note that whether or not this module successfully identifies
+ * a negotiated response, we should always send the appropriate
+ * Vary or cache-control response.
+ */
if(r->proto_num < HTTP_VERSION(1,1)) {
/* Really shouldn't cache responses for HTTP 1.0 or earlier.
|