Fix content-encoding missing bug