Skip to content
Commits on Apr 13, 2011
  1. @sferik

    Release 0.6.1

    sferik committed
  2. @sferik

    Release 0.6.1

    sferik committed
  3. @sferik

    Add ca_path to SSL options hash

    Alex Kremer committed with sferik
Commits on Apr 4, 2011
  1. @mislav

    refactor how adapters save response params to `env`

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

Commits on Mar 28, 2011
  1. @mislav
  2. @mislav
  3. @mislav

    typo in README

    mislav committed
Commits on Mar 27, 2011
  1. @mislav

    add `Response.apply_request` method

    mislav committed
    Useful, for example, to re-apply the current request environment after
    a response object was restored from cache.
  2. @mislav

    more love for response headers; handle ones with multiple values

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

    add excon to bundle

    mislav committed
  2. @mislav
  3. @mislav
  4. @mislav

    fix syntax warning

    mislav committed
  5. @mislav
  6. @mislav

    tweak Gemfile for jruby

    mislav committed
  7. @mislav
  8. @mislav
  9. @gregspurrier @mislav
  10. @mislav
  11. @mislav
  12. @mislav

    optimize request/response cycle for parallel (asynchronous) mode

    mislav committed
     - 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
  13. @mislav

    cleanup Patron adapter

    mislav committed
  14. @mislav

    filter adapters used in tests with "ADAPTER" env variable

    mislav committed
      LIVE=1 ADAPTER=typhoeus bundle exec ruby test/adapters/live_test.rb
  15. @mislav
  16. @mislav
  17. @mislav
  18. @mislav
  19. @mislav

    execute Response#on_complete callbacks in reverse order

    mislav committed
    This is because when response is finished, middleware that was lowest
    on the stack (last added the callback) should get notified first.
  20. @mislav
  21. @mislav

    JSON and UrlEncoded request middleware now encode body conditionally

    mislav committed
    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.
  22. @mislav
  23. @mislav

    new ":json" middleware replaces :yajl and :active_support_json

    mislav committed
    "JSON" middleware will use either Yajl or ActiveSupport::JSON,
    whichever happens to load successfully (with a preference for Yajl).
  24. @mislav
Something went wrong with that request. Please try again.