setting content-enconding header for compressed resources