You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@rowe-clan.net> on 2007/07/31 01:02:34 UTC

Re: svn commit: r560937 - /httpd/httpd/trunk/modules/filters/mod_deflate.c

niq@apache.org wrote:
>              }
> -            else if (ap_strchr_c(encoding, ':') != NULL) {
> +            else if (ap_strchr_c(encoding, ',') != NULL) {

Uhm - so blowing away q val logic?

Actually, that doesn't look like a semi, that looks like a colon which
has no meaning I can think of, offhand.  What was that about, before?

Bill

Re: svn commit: r560937 - /httpd/httpd/trunk/modules/filters/mod_deflate.c

Posted by Nick Kew <ni...@webthing.com>.
On Mon, 30 Jul 2007 18:02:34 -0500
"William A. Rowe, Jr." <wr...@rowe-clan.net> wrote:

> >              }
> > -            else if (ap_strchr_c(encoding, ':') != NULL) {
> > +            else if (ap_strchr_c(encoding, ',') != NULL) {
> 
> Uhm - so blowing away q val logic?

Huh?  You lost me.

> Actually, that doesn't look like a semi, that looks like a colon which
> has no meaning I can think of, offhand.  What was that about, before?

It came from a tired misreading of section 14:11 of rfc2616.
Specifically the separately-quoted colon in the line
  Content-Encoding = "Content-Encoding" ":" 1#content-coding

(also from having no recollection of ever having seen more
than one token in a real-life Content-Encoding).

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/