lhorie/mithril.js — pull request #139 by eddyystop (2014-06-18 14:51:05+00:00)
Title: Allowing content-type to be set on m.request

Node's popular Express server, for example, doesn't correctly parse the JSON body on m.request's POST request without a Content-type header of ```application/json```.

This patch permits a contentType option, but it may be better for Mithril to default a header on non-GET requests.