made ContentEncoding an enum