Changed response from 406 to 415 for documents with wrong contenttype.