mattt/sinatra-param — pull request #4 by rlipman (2012-06-13 20:21:17+00:00)
Title: Check if content_type exists before converting to json

I ran into an issue where if `content_type` is nil, I would get 500 errors. Checking that `content_type` is not nil before casting to JSON stops these errors.