Issue #3028501: Enable header-based proactive content negotiation with optimizations and opt-outs available.
1 open thread
Merge request reports
Activity
439 /** 440 * Whether to permit HTTP content negotiation. 441 * 442 * This is used to inform the HTTP content negotiation middleware that it may 443 * use HTTP content negotiation headers. If unset or FALSE, it will not respect 444 * content negotiation headers such as `accept` or `accept-language`. The 445 * respected headers can be refined via a services.yml file. 446 * 447 * Some HTTP intermediaries, e.g. some CDNs and proxies, do not respect the 448 * `vary` * header in a manner that allows for properly functioning content 449 * negotiation. This is often a configuration that can be enabled in those 450 * intermediary systems. However, if that is not an option, this value can be 451 * set to FALSE and Drupal will not attempt to perform HTTP content negotiations 452 * via the * `accept` or `accept-*` headers. 453 * 454 * This setting is deprecated as of Drupal 8.8, and will be removed in
Please register or sign in to reply