matthewwithanm/httpplease.js — pull request #7 by geelen (2014-04-29 12:03:14+00:00)
Title: Allow more complex contentType fields

When experimenting with the GitHub api (e.g. https://api.github.com/users/geelen) the `contentType` of the response is `application/json; charset=utf-8`. The regexp in `jsonparser` assumes `json` is the last token in that string, so this allows it to match `json;` or `json\z` (end of string).