Bug 64662 - mod_negotiation's prefer-language environment variable
Summary: mod_negotiation's prefer-language environment variable
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_include (show other bugs)
Version: 2.5-HEAD
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2020-08-11 23:39 UTC by Rob
Modified: 2020-08-11 23:39 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Rob 2020-08-11 23:39:14 UTC

mod_negotiation supports the 'prefer-language' environment variable. As this page [1] says "If it exists and contains an appropriate language tag, mod_negotiation will try to select a matching variant.". It would be nice if mod_include could pass this variable along with sub-requests in the 'include' element, so that included files always have the correct language.

Thanks for considering,

[1] https://httpd.apache.org/docs/2.4/content-negotiation.html