Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Jun 20, 2010

  1. Add a second implementation of AsyncHTTPClient, using a new libcurl api.

    Ben Darnell authored

Jun 18, 2010

  1. Close wsgi responses correctly - the close method, if present, will

    be on the result of self.wsgi_application() and not on the list
    of output we're building up.
    Ben Darnell authored

Jun 10, 2010

  1. In the libcurl file descriptor limit hack, log to both stderr and

    logging.error since they may got to different places and one may be
    more visible than the other.
    Ben Darnell authored

Jun 08, 2010

  1. Catch and log exceptions from user callbacks in AsyncHTTPClient.

    Ben Darnell authored

Jun 07, 2010

  1. Fix missing import

    Ben Darnell authored

May 31, 2010

  1. Optionally allow nonstandard http methods to be used in httpclient.

    By default we check that the method is one of the standard ones (and
    is capitalized correctly), but this can be overridden to work with a
    server that has implemented nonstandard methods (e.g. CouchDB)
    Ben Darnell authored
  2. Changed it so one can access the StringIO buffer

    This allows for people to use the file-like object
    that already exists without having to convert the body
    back to the StringIO
    Mike Lewis authored Ben Darnell committed
  3. Clear the close_callback set on the IOStream by RequestHandlers in

    finish(), so that the close_callback does not prevent garbage collection
    of the handlers.
    Ben Darnell authored
  4. Close the socket on uncaught exceptions from iostream handlers.

    This prevents a possible denial of service if erroneous requests are
    made faster than garbage collection can reclaim socket file
    Ben Darnell authored
  5. Improve parsing of multipart/form-data headers.

    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:
    Ben Darnell authored
  6. Added RequestHandler.get_arguments(), which does the same normalization

    Ben Darnell authored

May 29, 2010

  1. Update documentation for WebSocketHandler

    Ben Darnell authored
  2. Revert "websockets: continue listening for messages after parsing com…

    This reverts commit 9ea5f8a.
    The one-shot behavior of receive_message was intentional, and simply
    requeuing the old callback every time will eventually overflow the
    stack due to repeated async_callback wrappers.  An alternate interface
    that doesn't require receive_message to be called for every message
    may be added in a future change.
    See discussion at
    Ben Darnell authored

May 25, 2010

  1. Allow StaticFileHandler subclasses to set additional headers on the r…

    Ben Darnell authored
  2. Don't try to compute max() of an empty sequence (which throws an exce…

    Ben Darnell authored
  3. Add a hacky workaround for libcurl's FD_SETSIZE bug. It's ugly,

    but better than undefined behavior.
    Ben Darnell authored

May 20, 2010

  1. Make it possible to override template_path at the handler level

    Ben Darnell authored

May 17, 2010

  1. Use a lambda instead of functools.partial for pycurl.HEADERFUNCTION.

    Older versions of pycurl (including, which is the recommended
    version for Mac OS X 10.5) only work with real functions, not objects
    with a __call__ method like functools.partial.
    Remove exception-swallowing - curl versions that predate HEADERFUNCTION
    are no longer supported.
    Ben Darnell authored

May 10, 2010

  1. Merge remote branch 'dlo/master'

    Ben Darnell authored
  2. Translate </ to <\/ in json output to avoid issues with the string

    Ben Darnell authored
  3. Support additional keyword arguments on cookies (to be handled by the

    underlying stdlib Cookie module)
    Ben Darnell authored

May 04, 2010

  1. Dan Loewenherz

    websockets: continue listening for messages after parsing completion

    The prior implementation stops listening for messages after the first
    message is received.
    dlo authored

May 01, 2010

  1. Allow for missing "expires" field in facebook session, which can

    happen if offline_access is granted.
    Ben Darnell authored

Apr 29, 2010

  1. Jon Parise

    Correcting a grammatical error (attribute -> attributes).

    jparise authored

Apr 26, 2010

  1. Evan Klitzke

    UIModule.css_files returns CSS files, not Javascript files

    eklitzke authored caseymrm committed

Apr 25, 2010

  1. Joseph Bowman

    Updating base Twitter url

    joerussbowman authored Ben Darnell committed

Apr 22, 2010

  1. Clear itimer signals in autoreload so the combination of autoreload

    and ioloop.set_blocking_log_threshold doesn't cause the new process
    to get killed.
    Ben Darnell authored

Apr 21, 2010

  1. Use escape.utf8() instead of .encode('utf-8') so we don't double-encode

    Ben Darnell authored
  2. cStringIO's constructor uses a 16-bit encoding when given a unicode

    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.
    Ben Darnell authored
  3. Add an option to log a stack trace any time the ioloop is blocked for

    more than a specified amount of time.
    Ben Darnell authored

Apr 20, 2010

  1. Send all logging to the root logger instead of per-module loggers.

    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.
    Ben Darnell authored
  2. Fix header parsing in httpclient for headers whose value contains ':'

    Ben Darnell authored

Apr 19, 2010

  1. Better HTTP header parsing: Allow (and strip) any amount of leading

    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)
    Ben Darnell authored
  2. Add a closed flag to AsyncHTTPClient so that a scheduled perform call…

    won't cause an exception after the client is closed.
    Ben Darnell authored

Apr 12, 2010

  1. Use the original request's protocol as the openid realm instead of ha…

    Ben Darnell authored
Something went wrong with that request. Please try again.