evanmiller/ChicagoBoss — pull request #101 by fdevibe (2012-04-09 22:54:56+00:00)
Title: Add support for JSON responses in web test.

Currently, all responses in boss_web_test are expected to be HTML and are sent to an HTML parser (afaics). This fails on receiving JSON data in the body. The patch checks for content-type application/json, and in that case decodes the body as JSON.