senchalabs/connect — pull request #654 by brodo (2012-08-30 18:09:32+00:00)
Title: Optional Content-Encoding Check in json.js

Hi,
I have added an option to the json module. This allows one to deactivate the check, if the 'Content-Encoding' request header is set to 'application/json'. This allows support for REST clients, which don't set the content encoding right.

The default behavior stays the same. I've also included unit tests and documentation for the new option.