scalatra/scalatra — pull request #314 by nicl (2013-09-24 17:01:32+00:00)
Title: Allow Accept-Encoding header to be a list

Intended to fix this bug: https://github.com/scalatra/scalatra/issues/283

The problem with the existing code is that if the user agent reports that they support a list of encodings (such as 'gzip, deflate'), which is the behaviour of most modern browsers, the existing code will not return a gzipped response.