only set either content-encoding or content-length