You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Peter Jones <pj...@pmade.org> on 2003/01/08 22:55:59 UTC
Re: [PATCH] getsfunc_BRIGADE tries to split a pipe bucket
Hey, remember back when Peter Jones said:
> Is there a reason that ap_scan_script_header_err_core can't put the
> Expires header in r->headers_out? Want me to send in a patch?
--- server/util_script.c.orig Wed Jan 8 13:33:47 2003
+++ server/util_script.c Wed Jan 8 13:33:47 2003
@@ -591,6 +591,9 @@
else if (!strcasecmp(w, "Transfer-Encoding")) {
apr_table_set(r->headers_out, w, l);
}
+ else if (!strcasecmp(w, "Expires")) {
+ apr_table_set(r->headers_out, w, l);
+ }
/*
* If the script gave us a Last-Modified header, we can't just
* pass it on blindly because of restrictions on future values.
--
Peter Jones <jesus;unix;c++;crypto;vi;4wd;geek> [ http://pmade.org ]
PGP Fingerprint: 27AD 7922 D3BC 46A3 3627 D7B4 4240 46C3 A41E 844A