boot-http is very useful, and there's a feature I'd like to request for it.
To help decouple themselves from any particular current technology, web servers often use URLs without file extensions (see Tim Berners-Lee's Cool URIs Don't Change): example.com/blah/article instead of example.com/blah/article.html.
For me, this is a common-enough requirement that I implement a Ring handler just for this on every one of my web projects, whether or not they use the JVM for their servers in production.
I'd thus like to request an option for having boot-http's server respond to URLs without file extensions, trying a bunch of file extensions—similarly to Nginx's try_files directive: for instance, (boot (serve :try-files [".html" ".css" ".js" ".svg"])).
boot-http is very useful, and there's a feature I'd like to request for it.
To help decouple themselves from any particular current technology, web servers often use URLs without file extensions (see Tim Berners-Lee's Cool URIs Don't Change):
example.com/blah/article
instead ofexample.com/blah/article.html
.For me, this is a common-enough requirement that I implement a Ring handler just for this on every one of my web projects, whether or not they use the JVM for their servers in production.
I'd thus like to request an option for having
boot-http
's server respond to URLs without file extensions, trying a bunch of file extensions—similarly to Nginx'stry_files
directive: for instance,(boot (serve :try-files [".html" ".css" ".js" ".svg"]))
.