niko/rack-post-body-to-params — pull request #2 by fallwith (2012-02-01 23:49:21+00:00)
Title: Bugfix for recent 0.1.4 change. Check for nil prior to calling split.

The 0.1.4 improvement (handle content-types with extra info specified after the first semicolon) is much appreciated, thanks!

Unfortunately it broke our app whenever a request comes in without a content-type header. The change present in this pull request correctly checks for nil prior to calling split, and lets a nil content-type value pass through as it did before.

A merge (or variation on this change) and a 0.1.5 release would be greatly appreciated! Thanks very much for your time and of course for this gem.