https://issues.apache.org/bugzilla/show_bug.cgi?id=44657

           Summary: prefer-type, -encoding, and -charset cookie? (as prefer-
                    language)
           Product: Apache httpd-2
           Version: 2.2.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_negotiation
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Taken from the example were the Accept-Language (and it qualifiers) HTTP 
header is overridden by a cookie set in the user’s browser; from
http://httpd.apache.org/docs/2.2/content-negotiation.html#better :
SetEnvIf Cookie "lang=(.+)" prefer-language=$1 Header append Vary cookie

I wish this could be done this be done with other Accept HTTP headers as well.
By introducing other enviromental variables—such as prefer-type,
prefer-encoding, and prefer-charset—they can be used to override other
default  negotiation methods for the Content-Type, Content-Encoding, and
Content-Charset headers. I had visioned something like the below:
SetEnvIf Cookie "type=(.+)" prefer-type=$1 Header append Vary cookie
SetEnvIf Cookie "charset=UTF-8" prefer-type=utf8 Header append Vary cookie

Basically I want to offer the user a way to override the default content
negotiation method. Like with the prefer-language option. For web browsers that
does not spesicfy supported charsets, types, encodings, etc.

I mean to put an option to set override cookies on the 406 error ducoument
page. So users can fill in the blanks for their browsers.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to