mikecao/flight — pull request #121 by cuonic (2014-06-26 02:39:55+00:00)
Title: Fixed problem with Request Json array

Using the Flight Framework with AngularJS, I send POST data as JSON in the request body, my problem was that the browser sent the following content type : "application/json;charset=utf-8".

When this was interpreted by the Request handler, it didn't get put into the Flight::request()->json variable because the content type didn't exactly match " application/json". I have fixed this and now also send the json data through the Collection system to enable users to access as an object or an array, as they desire.