Received: by taz.hyperreal.com (8.7.5/V2.0) id CAA20964; Tue, 27 Aug 1996 02:45:25 -0700 (PDT) Received: from gate.ukweb.com by taz.hyperreal.com (8.7.5/V2.0) with ESMTP id CAA20957; Tue, 27 Aug 1996 02:45:21 -0700 (PDT) Received: from star(really [192.168.2.10]) by gate.ukweb.com via rsmtp with smtp id for ; Tue, 27 Aug 96 10:45:17 +0100 (BST) (/\##/\ Smail3.1.30.13 #30.13 built 31-aug-95) Date: Tue, 27 Aug 1996 10:45:17 +0100 (BST) From: Paul Sutton X-Sender: paul@star To: new-httpd@hyperreal.com Subject: Negotiation updates part II Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com I've updated my patch for mod_negotiation based on the bugs and comments from Alexei and Roy. I've uploaded it via ftp to /httpd/incoming/mod_negotiation.patch2. The old 'mod_negotiation.patch' file could be deleted. As before, this patch attempts to make Apache compliant with HTTP/1.1 content negotiation on language, encoding and charset. It also, optionally, adds support for transparent negotiation a la Holtman draft 02. This patch fixes the following problems with my previous patch: #define HOLTMAN can be unset to prevent use of transparent negotiation even if client asks for it If Accept: type have no q values, force type/* items to have q=0.02 and */* to have q=0.01 Fix content-length tie-break to work even if variants being compared have different types (eg image/gif and image/jpeg) 406 and 300 variant list text stored in r->notes and output by send_error_response() in http_protocol.c If no suitable variant found, return 406 even if using HTTP/1.0 Updated encoding handling to differentiate between an empty Accept-Encoding header (meaning no encoding acceptable) and no Accept-Encoding header (meaning any encoding acceptable). Paul