jetty/jetty.project

Content negotiation for Accept-Language (static pages) ?

已关闭

#13,330 创建于 2025年7月7日

 (10 条评论) (0 个反应) (1 位负责人)Java (1,913 个派生)batch import
EnhancementHelp Wanted

仓库指标

星标
 (3,701 个星标)
PR 合并指标
 (平均合并 6天 14小时) (30 天内合并 48 个 PR)

描述

I'm creating this issue as suggested on the list .

Request: Add support for content negotiation like apache httpd does for the Accept-Language header.

Use case is serving static pages with "href=my_page.html" and where files in the webapp folder are actually

  • my_page.html.en
  • my_page.html.de
  • my_page.html.fr
  • my_page.html.it
  • ...

At the moment, when trying to load my_page.html it shows 404 error.

贡献者指南