Public Member Functions | Static Public Attributes | Private Attributes
tornado.web.GZipContentEncoding Class Reference
Inheritance diagram for tornado.web.GZipContentEncoding:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def transform_chunk
def transform_first_chunk

Static Public Attributes

tuple CONTENT_TYPES
int MIN_LENGTH = 5

Private Attributes

 _gzip_file
 _gzip_value
 _gzipping

Detailed Description

Applies the gzip content encoding to the response.

See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11

Definition at line 1702 of file web.py.


Constructor & Destructor Documentation

def tornado.web.GZipContentEncoding.__init__ (   self,
  request 
)

Reimplemented from tornado.web.OutputTransform.

Definition at line 1713 of file web.py.


Member Function Documentation

def tornado.web.GZipContentEncoding.transform_chunk (   self,
  chunk,
  finishing 
)

Reimplemented from tornado.web.OutputTransform.

Definition at line 1733 of file web.py.

def tornado.web.GZipContentEncoding.transform_first_chunk (   self,
  status_code,
  headers,
  chunk,
  finishing 
)

Reimplemented from tornado.web.OutputTransform.

Definition at line 1717 of file web.py.


Member Data Documentation

Definition at line 1717 of file web.py.

Definition at line 1717 of file web.py.

Definition at line 1713 of file web.py.

Initial value:
set([
        "text/plain", "text/html", "text/css", "text/xml", "application/javascript",
        "application/x-javascript", "application/xml", "application/atom+xml",
        "text/javascript", "application/json", "application/xhtml+xml"])

Definition at line 1707 of file web.py.

Definition at line 1711 of file web.py.


The documentation for this class was generated from the following file:


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Mon Oct 6 2014 06:58:15