You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dmitry Khrustalev <di...@zippy.machaon.ru> on 1999/05/02 23:08:47 UTC
Re: cvs commit: apache-1.3/htdocs/manual/misc known_client_problems.html
Well, this change will break HTTP/1.1 cache validation protocol. Can you
consider downgrading response to HTTP/1.0?
-Dima
On 29 Apr 1999 coar@hyperreal.org wrote:
> coar 99/04/29 08:06:54
>
> Modified: src CHANGES
> src/main http_protocol.c
> htdocs/manual/misc known_client_problems.html
> Log:
> Add another special-meaning envariable, force-no-vary, to allow
> removal of the Vary field from response headers.
>
> PR: 4118
>
> Revision Changes Path
> 1.1331 +4 -0 apache-1.3/src/CHANGES
>
> Index: CHANGES
> ===================================================================
> RCS file: /home/cvs/apache-1.3/src/CHANGES,v
> retrieving revision 1.1330
> retrieving revision 1.1331
> diff -u -r1.1330 -r1.1331
> --- CHANGES 1999/04/28 08:39:45 1.1330
> +++ CHANGES 1999/04/29 15:06:50 1.1331
> @@ -1,5 +1,9 @@
> Changes with Apache 1.3.7
>
> + *) Add "force-no-vary" envariable to allow servers to work around
> + clients that choke on "Vary" fields in the response header.
> + [Ken Coar] PR#4118
> +
> *) Ease configuration debugging by making TestCompile fall back to
> using "make" if the $MAKE variable is unset [Martin Kraemer]
>
>
>
>
> 1.266 +7 -0 apache-1.3/src/main/http_protocol.c
>
> Index: http_protocol.c
> ===================================================================
> RCS file: /home/cvs/apache-1.3/src/main/http_protocol.c,v
> retrieving revision 1.265
> retrieving revision 1.266
> diff -u -r1.265 -r1.266
> --- http_protocol.c 1999/04/27 20:36:31 1.265
> +++ http_protocol.c 1999/04/29 15:06:52 1.266
> @@ -1474,6 +1474,13 @@
> r->headers_out = ap_overlay_tables(r->pool, r->err_headers_out,
> r->headers_out);
>
> + /*
> + * Remove the 'Vary' header field if the client can't handle it.
> + */
> + if (ap_table_get(r->subprocess_env, "force-no-vary") != NULL) {
> + ap_table_unset(r->headers_out, "Vary");
> + }
> +
> ap_hard_timeout("send headers", r);
>
> ap_basic_http_header(r);
>
>
>
> 1.18 +13 -0 apache-1.3/htdocs/manual/misc/known_client_problems.html
>
> Index: known_client_problems.html
> ===================================================================
> RCS file: /home/cvs/apache-1.3/htdocs/manual/misc/known_client_problems.html,v
> retrieving revision 1.17
> retrieving revision 1.18
> diff -u -r1.17 -r1.18
> --- known_client_problems.html 1999/04/26 12:22:24 1.17
> +++ known_client_problems.html 1999/04/29 15:06:54 1.18
> @@ -285,6 +285,19 @@
> generated by mod_rewrite in apache 1.3. The result is an error from MSIE
> saying it cannot download the requested file. There are more details
> in <a href="http://bugs.apache.org/index/full/4118">PR#4118</a>.
> +</P>
> +<P>
> +A workaround is to add the following to your server's configuration
> +files:
> +</P>
> +<PRE>
> + BrowserMatch "MSIE 4\.0" force-no-vary
> +</PRE>
> +<P>
> +(This workaround is only available with releases <STRONG>after</STRONG>
> +1.3.6 of the Apache Web server.)
> +</P>
> +
>
> <!--#include virtual="footer.html" -->
> </BODY>
>
>
>
>
>
Re: cvs commit: apache-1.3/htdocs/manual/misc known_client_problems.html
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Dmitry Khrustalev wrote:
>
> Well, this change will break HTTP/1.1 cache validation protocol.
> Can you consider downgrading response to HTTP/1.0?
You know, I wondered about that. I was think about the user agent
and not about any intermediate caches. I agree, forcing the response
to 1.0 sounds like the proper thing to do if Vary is being stripped.
--
#ken P-)}
Ken Coar <http://Web.Golux.Com/coar/>
Apache Software Foundation <http://www.apache.org/>
"Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>