DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29446>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29446

want directive for setting content negotiation quality (qs)

           Summary: want directive for setting content negotiation quality
                    (qs)
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: mod_negotiation
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


In brief, I would like a directive for setting the qs value for a resource.  
Synopsis: 
 
<Files index.rss> 
    SetQs .1 
</Files> 
 
I know that it is possible to set the qs value using a type map, but it's a 
burden to maintain such a configuration for the following reasons: 
 
  1) every variant must have an entry in the type map, even if you want to set 
the Qs on just one file 
 
  2) each variant entry must spell out the content type, even though it is 
ignored when the resource is located in a file (mentioned in Bug 29445). 
 
An example use case is when you would like to publish an .rss variant of a 
resource.  The problem is that certain poorly maintained browsers, and even 
the validator.org validator, don't bother specifying which types they expect, 
and so the .rss file might be served to them.  A reasonable solution is to 
lower the qs value for the .rss variant.  Currently, for the directory index, 
I have to make a map file like this: 
 
URI: index 
 
URI: index.rss 
Content-type: application/rss+xml; qs=.1 
 
URI: index.en.html 
Content-type: text/html 
 
URI: index.fr.html 
Content-type: text/html 
 
. 
. 
. 
 
Obviously that's difficult to maintain if you have many variants of a 
resource.  I would much rather just set the qs of index.rss, as shown at the 
beginning of this report.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to