Skip to content

Commit

Permalink
Document gzip support
Browse files Browse the repository at this point in the history
  • Loading branch information
rmohr committed May 8, 2015
1 parent 019a09e commit d442c93
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ simple as that::
my_app = Cling("/my/directory")
make_server("localhost", 9999, my_app).serve_forever()

Now you can access everything in the given directory via http://localhost:9999.
Now you can access everything in the given directory via http://localhost:9999.D

Serving compressed files
^^^^^^^^^^^^^^^^^^^^^^^^

If a gzip compressed file with the ´gz´ postfix is present, it is served, along with the corresponding headers.
So if the file 'index.html' and the file 'index.html.gz' are present, the file 'index.html.gz' is served, if the the client indicated that it supports gzipped content.

Shock
^^^^^
Expand Down

0 comments on commit d442c93

Please sign in to comment.