read corrent Content-Type value for PUT requests, really closes #1014
merge 4eb7151d7f9e487baebc583a4d50d8f9d7edb9d6, refs #1014