Update Content Types in MockHttpServletRequest
JSON should default to application/json, not text/json, and the user should be able to manually set the content type if they desire something other than the default.
As per this discussion: https://groups.google.com/d/topic/liftweb/8C6Rz-dy6LQ/discussion
As per this discussion: https://groups.google.com/d/topic/liftweb/8C6Rz-dy6LQ/discussion
Leave a comment
(In revision:fce621b7fba627728446a3043094c62f17572b02) Fix MockHttpServletRequest JSON content type
Also provide a simple method to override the default content
types.
Closes #895
Branch: master
Also provide a simple method to override the default content
types.
Closes #895
Branch: master
on 2011-02-19 11:24 *
By Peter Robinett
Thanks, Derek.