return 415 error for unknown encodings