read corrent Content-Type value for PUT requests, really closes #1014