Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 9, 2010
  1. Consolidate the various HTTP header dictionary classes into one,

    Ben Darnell authored
    which includes better handling of headers with repeated values
    (e.g. Set-Cookie)
Commits on Jun 18, 2010
  1. Close wsgi responses correctly - the close method, if present, will

    Ben Darnell authored
    be on the result of self.wsgi_application() and not on the list
    of output we're building up.
Commits on May 31, 2010
  1. Improve parsing of multipart/form-data headers.

    Ben Darnell authored
    This change was motivated by google app engine's xmpp support,
    which uses different spacing in the header than other common clients
    and quotes its boundary string.
    Based on changes by jehiah:
Commits on Apr 21, 2010
  1. cStringIO's constructor uses a 16-bit encoding when given a unicode

    Ben Darnell authored
    string.  This is inconsistent with its write method, which encodes all
    strings as ascii (and rejects unicode strings iff they have any
    non-ascii characters).  This change uses utf-8 as the default encoding
    when constructing cStringIO objects in tornado.
Commits on Apr 20, 2010
  1. Send all logging to the root logger instead of per-module loggers.

    Ben Darnell authored
    This undoes the effect of
    Per-module loggers are problematic because only the top-level convenience
    logging.{error,warning,...} functions configure logging on-demand, so
    an app that only uses per-module loggers will produce no output except
    "no handlers found for logger X".  Since tornado.ioloop swallows and logs
    all exceptions, this makes it too hard to tell what's going on for apps
    that do not configure logging explicitly.
    Instead of setting log levels on individual module's loggers,
    logging.Handler.addFilter can be used with a filter that examines
    the module attribute of the log record.
Commits on Apr 19, 2010
  1. Better HTTP header parsing: Allow (and strip) any amount of leading

    Ben Darnell authored
    and trailing whitespace around header values instead of just a single
    space.  Such whitespace is legal but appears to be uncommon (and nginx
    apparently normalizes everything to a single space)
Commits on Mar 31, 2010
Commits on Mar 24, 2010
  1. Brandon Bickford

    Use per-module loggers instead of the root logger.

    bickfordb authored Ben Darnell committed
Commits on Mar 22, 2010
  1. Don't put wsgi response headers in a dictionary to support repeated

    Ben Darnell authored
    headers with the same value (mainly important for Set-Cookie)
Commits on Feb 27, 2010
  1. Call the close() method on the wsgi response object if it exists.

    Ben Darnell authored
    This is required by the WSGI spec, and cherrypy leaks memory without it.
Commits on Feb 26, 2010
  1. Add SERVER_PROTOCOL variable to wsgi environment. This turns out to be

    Ben Darnell authored
    necessary for using cherrypy in a tornado WSGIContainer.
  2. Ben Weaver
Commits on Dec 8, 2009
  1. Add REMOTE_ADDR to WSGIContainer

    Ben Darnell authored
Commits on Dec 7, 2009
  1. Make WSGIContainer._environ public and static, so it can be used to a…

    Ben Darnell authored
    tornado requests to WSGI environments without a full WSGIContainer.
Commits on Sep 18, 2009
  1. Bret Taylor
Commits on Sep 14, 2009
  1. Bret Taylor
Commits on Sep 13, 2009
  1. Bret Taylor
Commits on Sep 10, 2009
  1. remove cases where intern is used. This will prevent a DoS via memory…

    Jay Baird authored
    … starvation if a lot of requests are sent using random headers
  2. Bret Taylor
Something went wrong with that request. Please try again.