fix regression for uncompressed content-encoding

fixes issue #27.