Completed TODO regarding ContentType and ContentEncoding.