Commits on Apr 13, 2011
  1. Release 0.6.1

    sferik committed Apr 13, 2011
  2. Release 0.6.1

    sferik committed Apr 13, 2011
  3. Add ca_path to SSL options hash

    Alex Kremer committed with sferik Apr 10, 2011
Commits on Apr 4, 2011
  1. refactor how adapters save response params to `env`

    Ensures :response_headers always get initialized
    Closes #50
    mislav committed Apr 4, 2011
Commits on Apr 1, 2011
  1. Release 0.6.0

    committed Apr 1, 2011
Commits on Mar 28, 2011
  1. typo in README

    mislav committed Mar 28, 2011
Commits on Mar 27, 2011
  1. add `Response.apply_request` method

    Useful, for example, to re-apply the current request environment after
    a response object was restored from cache.
    mislav committed Mar 27, 2011
  2. more love for response headers; handle ones with multiple values

      - ensure that env[:response_headers] is not available during request phase
      - fix headers from "Test" adapter
    Closes #43
    mislav committed Mar 27, 2011
Commits on Mar 26, 2011
  1. add excon to bundle

    mislav committed Mar 26, 2011
  2. fix syntax warning

    mislav committed Mar 15, 2011
  3. tweak Gemfile for jruby

    mislav committed Mar 13, 2011
  4. optimize request/response cycle for parallel (asynchronous) mode

     - there is no `env[:response]` during the request phase
     - middleware should attach `on_complete` handlers to the response object
       returned from `` call
     - `on_complete` handlers execute immediately if the request is finished
     - Builder doesn't have the `run` method anymore
     - the default stack is now setup as soon as the Builder object has been initialized
     - the inner app for the stack is set when creating the request
    mislav committed Mar 3, 2011
  5. cleanup Patron adapter

    mislav committed Mar 3, 2011
  6. filter adapters used in tests with "ADAPTER" env variable

      LIVE=1 ADAPTER=typhoeus bundle exec ruby test/adapters/live_test.rb
    mislav committed Mar 2, 2011
  7. execute Response#on_complete callbacks in reverse order

    This is because when response is finished, middleware that was lowest
    on the stack (last added the callback) should get notified first.
    mislav committed Mar 2, 2011
  8. JSON and UrlEncoded request middleware now encode body conditionally

    These middleware now pay attention to "Content-Type" of the request.
    Each will only encode the body if the content-type value matches.
    When a body is present but no Content-Type, the middleware higher on
    the stack will use its encoding.
    This makes it possible to keep both middlewares on the stack and choose
    encoding type by Content-Type switching.
    mislav committed Mar 2, 2011
  9. new ":json" middleware replaces :yajl and :active_support_json

    "JSON" middleware will use either Yajl or ActiveSupport::JSON,
    whichever happens to load successfully (with a preference for Yajl).
    mislav committed Mar 2, 2011