peej/tonic — pull request #89 by zergin (2012-07-16 21:50:21+00:00)
Title: Content type fix

* Allow for HTTP_CONTENT_TYPE header to set content type

Content type header set by PHP5.4 built in server is HTTP prefixed

* Split content type header - use only 1st part

Content-type headers can have additional fields - use only initial mime field
so that method "accept" matching will work correctly. Example:

Content-type: application/json; charset=UTF-8