seancribbs/webmachine-ruby — pull request #42 by armin-joellenbeck (2012-04-16 20:35:43+00:00)
Title: Problem with whitespace in Accept-Encoding header

I have the following problem:

The google-chrome browser (Version 18.0.1025.162) sends the request header
Accept-Encoding:gzip,deflate,sdch
There is no whitespace after the comma. Therefore webmachine does not recognize the gzip encoding when a resource provides it. According to the HTTP 1.1 spec the whitespace around commas in lists is optional.

I think that with the included commit I have solved the problem.