Skip to content
Commits on Aug 25, 2010
  1. @bdarnell

    Add a tornado.version variable, and use it anywhere we use the current

    bdarnell committed
    tornado version to produce a Server: header.
    Closes #22.
Commits on Aug 10, 2010
  1. @bdarnell
Commits on Jul 30, 2010
  1. Make all internal imports of tornado modules absolute

    Ben Darnell committed
Commits on Jul 9, 2010
  1. Consolidate the various HTTP header dictionary classes into one,

    Ben Darnell committed
    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 committed
    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 committed
    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 committed
    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 committed
    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 committed
    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. @bickfordb

    Use per-module loggers instead of the root logger.

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

    Ben Darnell committed
    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 committed
    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 committed
    necessary for using cherrypy in a tornado WSGIContainer.
  2. @weaver
Commits on Dec 8, 2009
  1. Add REMOTE_ADDR to WSGIContainer

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

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

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