if you need to auto detect the content-encoding, there's some more code. You want that?