title: How to use Content-Encoding: gzip with Python SimpleHTTPServer
body: <p>I'm using <code>python -m SimpleHTTPServer</code> to serve up a directory for local testing in a web browser. Some of the content includes large data files. I would like to be able to gzip them and have SimpleHTTPServer serve them with Content-Encoding: gzip. </p>
  
  <p>Is there an easy way to do this?</p>