Improve the inbound data handling for POST and PUT.