zendframework/zf2 — pull request #5201 by nhorvath (2013-10-01 18:12:21+00:00)
Title: JsonStrategy not working as described

JsonStrategy documentation suggests that setting HTTP Accept header to application/json should trigger JsonStrategy, however the code only (and always) triggers if the model is a JsonModel and has nothing to do with checking http accept headers.
I've modified the selectRenderer method to do what its phpdoc says it does by adding a check on the http access header to see if the first requested format is json.