Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Jan 21, 2011

  1. Ben Darnell

    Move request logging from RequestHandler to Application.

    Logging can now be configured with either a subclass or setting of
    Application.  This replaces the previous method of overriding a private
    method of RequestHandler, which was difficult to do for built-in handlers
    (StaticFileHandler and RedirectHandler).
    authored January 21, 2011
  2. Ben Darnell

    Fix commit 377c160 when connection is None.

    authored January 20, 2011

Jan 20, 2011

  1. Ben Darnell

    Set HTTPRequest.protocol correctly when using the built-in SSL support.

    Closes #202.
    authored January 20, 2011
  2. Ben Darnell

    Use kwargs when constructing RedirectHandlers.

    Closes #205.
    authored January 20, 2011

Jan 19, 2011

  1. Rickard Böttcher

    Added missing attribute "stream" in call to getpeercert() in HTTPRequ…

    authored January 19, 2011

Jan 13, 2011

  1. Ben Darnell

    Replace more uses of cStringIO.getvalue() with .tell().

    authored January 13, 2011
  2. Ben Darnell

    Merge remote branch 'didip/master' into merge

    authored January 13, 2011

Jan 12, 2011

  1. Ben Darnell

    Add some comments about thread safety.

    authored January 12, 2011

Jan 10, 2011

  1. reset() only set current position back to 0. What we want here is tru…

    But, per discussion, creating new StringIO() is cheaper.
    authored January 10, 2011
  2. Further optimization by using tell() and reset()

    authored January 10, 2011
  3. use cStringIO on _read_buffer and _write_buffer

    authored January 09, 2011

Jan 06, 2011

  1. Ben Darnell

    Use a list instead of a set for IOLoop callbacks. This preserves order

    and allows the same callback object to be reused.
    A set was originally used to support remove_callback(), but that method
    was removed in the 1.1 release.
    authored January 06, 2011

Jan 03, 2011

  1. Ben Darnell

    Use absolute paths in RequestHandler._static_hashes to allow for diff…

    authored January 03, 2011
  2. Ben Darnell

    Log exceptions with exc_info=True instead of exc_info=e.

    The logging module checks to see if the value passed for exc_info is a
    tuple, and if so assumes it contains (type, value, traceback).
    A bug in python 2.5 and 2.6 causes context manager's __exit__ methods
    to sometimes receive a tuple instead of an exception object, which causes
    a nonsensical message to be logged.
    authored January 03, 2011

Dec 28, 2010

  1. Ben Darnell

    Fix stack trace logging for uncaught RequestHandler exceptions.

    _handle_request_exception is a private method, but since I've endorsed
    overriding it on the mailing list preserve backwards compatibility by
    re-raising the exception so it appears in sys.exc_info().
    Closes #199.
    authored December 27, 2010

Dec 17, 2010

  1. Ben Darnell

    Remove logging for EINTR in IOLoop, since this is not really an error.

    authored December 17, 2010

Dec 14, 2010

  1. Ben Darnell

    Construct ErrorHandler with kwargs instead of positional arguments

    for consistency with normal handler construction (and compatibility with
    the initialize() changes from a couple of commits ago).
    Closes #194.
    authored December 14, 2010

Dec 13, 2010

  1. Ben Darnell

    Override initialize() instead of __init__() in RequestHandler subclas…

    This is a slight simplification and makes it easier to create further
    application-specific subclasses.
    Closes #191.
    authored December 13, 2010
  2. Jon Parise

    tornado.httpserver is unused in this scope

    authored December 13, 2010

Dec 11, 2010

  1. Ben Darnell

    Add a simple HTTP benchmark

    authored December 10, 2010
  2. Ben Darnell

    Avoid unnecessary work in HTTPHeaders._normalize_name.

    authored December 10, 2010
  3. Ben Darnell

    Implement ExceptionStackContext independently of StackContext to improve

    authored December 10, 2010

Dec 10, 2010

  1. Ben Darnell

    Avoid use of the @contextlib.contextmanager decorator.

    This decorator has over 5x the overhead of a hand-written class
    with __enter__ and __exit__ methods.
    authored December 10, 2010

Dec 03, 2010

  1. Ben Darnell

    Merge remote branch 'slay2k/fb_fix_graph_mixin'

    authored December 03, 2010

Dec 01, 2010

  1. Ben Darnell

    Fix duplicated remote_ip field in HTTPRequest.__repr__

    Closes #185.
    authored November 30, 2010

Nov 30, 2010

  1. Romy Maxwell

    A few fixes for FacebookGraphMixin

    - Added error handler for _on_access_token
    - Modified to allow for extra returned fields in the auth call
    - Removed username, which seems to have been deprecated
    authored November 29, 2010

Nov 29, 2010

  1. Ben Darnell

    Use request.uri instead of request.path as default redirect for

    This allows the next parameter (added by @authenticated) to be preserved.
    Closes #161.
    authored November 29, 2010
  2. Ben Darnell

    Log malformed HTTP requests more gracefully.

    Malformed requests are now logged as a single INFO line (which
    includes the IP address) instead of a verbose but uninformative stack
    authored November 29, 2010
  3. Ben Darnell

    Treat HEAD requests the same as GET for e.g. sending Etag headers.

    Closes #180.
    authored November 29, 2010
  4. Ben Darnell

    Preserve the order of css_files from UIModules, like we already do fo…

    …r JS
    authored November 29, 2010
  5. Ben Darnell

    Expose the client's SSL certificate as HTTPRequest.get_ssl_certificat…

    authored November 29, 2010

Nov 23, 2010

  1. Josh Staiger

    Fix bug in multipart/form-data requests.

    In Firefox and Safari, I'm seeing k = " boundary"
    for multipart/form-data posts.  
    " boundary" != "boundary", so the mime fields
    aren't parsed.  
    This commit gets rid of the leading space.
    authored November 22, 2010

Nov 20, 2010

  1. Josh Staiger

    Update pydoc to mention response.rethrow instead of reraise.

    authored November 20, 2010

Nov 19, 2010

  1. Ben Darnell

    Don't assume 'boundary' is last field in Content-Type header.

    authored November 19, 2010

Nov 18, 2010

  1. Ben Darnell

    Merge remote branch 'vijayp/master'

    authored November 18, 2010
Something went wrong with that request. Please try again.