Skip to content
This repository

HTTPS clone URL

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)
    
    http://github.com/facebook/tornado/issues/issue/90
    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.
    
    http://github.com/facebook/tornado/issues/issue/95/
    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
    descriptors.
    
    http://groups.google.com/group/python-tornado/browse_frm/thread/7a5d61e6ba0c71b8/8af41b48ac02cc6c
    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:
    http://github.com/jehiah/tornado/commit/18cb45ca73859fa81883bd10c9cd8e051865096a
    http://github.com/jehiah/tornado/commit/9d67963466878550368b932746bb4a244a593905
    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…

    …pletion"
    
    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
    http://github.com/facebook/tornado/commit/9ea5f8a277db96557ae7867375c7db4d8c5f633a
    Ben Darnell authored

May 25, 2010

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

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

    …ption)
    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 7.16.2.1, 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

    "</script>".
    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
    http://github.com/facebook/tornado/commit/e391fd289ed085671344504cc5b1fa84f5a3c774
    
    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)
    http://tools.ietf.org/html/rfc2616#page-31
    Ben Darnell authored
  2. Add a closed flag to AsyncHTTPClient so that a scheduled perform call…

    …back
    
    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…

    …rd-coding
    
    http.
    Ben Darnell authored
Something went wrong with that request. Please try again.