Set content-type + use compressed key
Content-Encoding, not Content-Type
Eliminate panics
Reorg and add more tests