Improved support for Content-Types for POST and PUT.