Content Encoding

While not strickly part of RFC1945 HTTP/1.0, most browsers provide an Accept-Encoding header, which indicate they accept a gzip content encoding. Jetty provides a filter which can GZIP encode all responses sent to browsers that accept this encoding.

For this demonstration, any URL prefixed with /GZ can be encoded. All of the following URLs access pages on this demo server via this filter:

/GZ/Jetty/Demo/encode.html - This page.
/GZ/Dump/info - Dump servlet.
/GZ/PropertyTree - PropertyTree Editor.