Added content-type selection for incoming requests (POST/PUT)