avsm/ocaml-cohttp — pull request #2 by mjambon (2012-04-24 01:39:04+00:00)
Title: Proper extraction of media-type from content-type field of POST requests

Previously POST request bodies were ignored with relatively recent
versions of Firefox, due to not extracting
"application/x-www-form-urlencoded" from
"application/x-www-form-urlencoded; charset=UTF-8"
(extra charset parameter set by Firefox when doing an XMLHttpRequest;
Opera/Chromium/Safari don't do this; don't know about other contexts).