jetty/jetty.project

Content negotiation for Accept-Language (static pages) ?

Open

#13330 opened on Jul 7, 2025

View on GitHub
 (10 comments) (0 reactions) (1 assignee)Java (3,701 stars) (1,913 forks)batch import
EnhancementHelp Wanted

Description

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.

Contributor guide