Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Oct 3, 2015
  1. @bdarnell

    Support PATCH with body in curl_httpclient.

    bdarnell authored
    This previously required `allow_nonstandard_methods`.
    Refine the body sanity checks and tests (followup to #1531).
Commits on Oct 1, 2015
  1. Perform sanity checks on request.body only if allow_nonstandard_metho…

    Stefan Tjarks authored
    …ds is True. This makes CurlAsyncHTTPClient handle allow_nonstandard_methods the same as AsyncHTTPClient.
Commits on Aug 21, 2015
  1. @gwillem

    Allow multi-line headers

    gwillem authored
Commits on Apr 18, 2015
  1. @bdarnell

    Fix exception handling in CurlAsyncHTTPClient._process_queue.

    bdarnell authored
    Previously it would allow exceptions to escape, which worked only if
    _process_queue were called by fetch_impl instead of
    Closes #1413.
Commits on Feb 15, 2015
  1. @bdarnell
Commits on Feb 8, 2015
  1. @bdarnell

    More flake8 cleanup.

    bdarnell authored
    The only remaining flake8 errors are for line length.
  2. @bdarnell

    Run autopep8

    bdarnell authored
Commits on Jan 24, 2015
  1. @bdarnell

    Give curl_httpclient its own logger for its verbose debug output.

    bdarnell authored
    This makes it easier to filter it separately.
    This commit is an updated recreation of
    to account for code movement.
    Closes #1093.
Commits on Oct 11, 2014
  1. @bdarnell

    Fix byte strings as header values in curl_httpclient and python3.

    bdarnell authored
    Add the -bb flag to all py3 tests, which uncovered this bug.
Commits on Oct 5, 2014
  1. @bdarnell

    Clarify error messages about http request bodies.

    bdarnell authored
    Change AssertionError to ValueError and s/empty/None.
    Closes #1213.
Commits on Sep 21, 2014
  1. @bdarnell

    curl_httpclient: run streaming and header callbacks on the IOLoop.

    bdarnell authored
    This ensures a more consistent execution environment and allows
    a streaming or header callback to invoke other CurlAsyncHTTPClient
    This change also fills in HTTPResponse.headers even when a header_callback
    is used, similar to simple_httpclient's behavior.
    Closes #1188.
  2. @bdarnell

    Move static functions in curl_httpclient to methods of CurlAsyncHTTPC…

    bdarnell authored
    No functional changes in this commit, just code movement.
Commits on Aug 25, 2014
  1. @methane
Commits on Jul 21, 2014
  1. @tatiana
Commits on Jul 17, 2014
  1. @bdarnell

    Merge pull request #1116 from homm/curl-put-redirects

    bdarnell authored
    make IOCMD_RESTARTREAD available for PUT requests
Commits on Jul 16, 2014
  1. @homm
Commits on Jul 15, 2014
  1. @kmike

    remove dead code

    kmike authored
    io.BytesIO is available since Python 2.6; Tornado doesn't support Python 2.5, so there won't be ImportError.
Commits on Jul 1, 2014
  1. @tatiana
  2. @tatiana

    Improve curl_httpclient so it supports custom methods with payload.

    tatiana authored
    Before this, no custom method (e.g. PATCH) added body to the CURL request.
  3. @bdarnell

    Rename the new-in-4.0 gzip parameter to HTTPServer.

    bdarnell authored
    All the gzip-related parameters are now explicit about whether
    they compress or decompress and whether they apply to requests or
    responses.  For all the parameters that existed prior to 4.0
    the old names are accepted as well, but for the new ones in 4.0
    we don't need to worry about backwards-compatibility.
    This is motivated by the potential confusion around the use of
    gzip as a parameter to the Application constructor to indicate
    compression of responses and to the HTTPServer constructor to
    indicate decompression of requests.
Commits on Jun 21, 2014
  1. @bdarnell
Commits on Jun 16, 2014
  1. @bdarnell

    Rename HTTP{In,Out}putException to HTTP{In,Out}putError.

    bdarnell authored
    This follows the standard python naming convention for exceptions.
Commits on Jun 15, 2014
  1. @bdarnell
Commits on May 20, 2014
  1. @bdarnell

    Change an assert to an explicit exception.

    bdarnell authored
    Use normalized Http-Header-Case for X-Http-Reason header.
Commits on May 19, 2014
  1. @dano

    Fixes based on code review.

    dano authored
    Don't fall through if regex doesn't match.
    Use 'X-HTTP-Reason' instead of 'Reason'.
Commits on May 14, 2014
  1. @dano
Commits on May 11, 2014
  1. @dano

    Improve custom reason code support.

    dano authored
    Adds support for custom reason messages to curl_httpclient.
    Make custom reason code HTTPError.message if one is available.
Commits on Dec 29, 2013
  1. @bdarnell
Commits on Nov 4, 2013
  1. @ajdavis
Commits on Nov 3, 2013
  1. @bdarnell

    Fix some cases where curl_httpclient options could leak to subsequent…

    bdarnell authored
    … requests.
    Document the remaining cases which cannot cleanly be set back to their default
    Uncovered by #912.
Commits on May 25, 2013
  1. @bdarnell

    Use remove and add instead of update_handler in curl_httpclient.

    bdarnell authored
    Curl sometimes fails to tell us that it has closed a socket
    and reopened a new one with the same file descriptor, leading
    to problems in some IOLoops.  This should fix the recurring problem
    of update_handler errors in various less-common use cases.
    Closes #801.
    Closes #538.
Commits on May 18, 2013
  1. @bdarnell

    Add PATCH and OPTIONS support by default to curl_httpclient.

    bdarnell authored
    Add some tests to cover all the standard (and non-standard) http methods.
    Closes #792.
Commits on Apr 13, 2013
  1. @bdarnell

    Document the fact that auth_mode="digest" only works with curl.

    bdarnell authored
    Add check in simple_httpclient that only basic mode is used.
  2. @bdarnell

    Merge pull request #700 from icaromedeiros/master

    bdarnell authored
    Digest authentication for curl_httpclient
  3. @bdarnell

    Ignore negative return values from CurlMulti.timeout.

    bdarnell authored
    pycurl has a wraparound bug that can turn very large timeouts into
    negative numbers.
    Closes #712.
Something went wrong with that request. Please try again.