Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 23, 2010
  1. @igrigorik
Commits on Jul 21, 2010
  1. @igrigorik
  2. @igrigorik

    Merge branch 'proxy'

    igrigorik authored
    Conflicts:
    	lib/em-http/mock.rb
  3. @igrigorik
  4. @phs @igrigorik

    Manually fix rebasing 95d6872 onto proxy branch.

    phs authored igrigorik committed
    The patch didn't take cleanly in request_spec, but the spirit of it is to use the
    X_THE_REQUESTED_URI set by the direct test proxy in a spec.
  5. @igrigorik
  6. @phs @igrigorik

    Rename :tunnel option -> :use_connect

    phs authored igrigorik committed
  7. @phs @igrigorik

    Only send proxy creds if not tunneling, or when in the :response_prox…

    phs authored igrigorik committed
    …y state.
  8. @phs @igrigorik

    Include proxy headers (including authorization) for all non-websocket…

    phs authored igrigorik committed
    … requests, not just for CONNECT requests in the :response_proxy state.
  9. @phs @igrigorik

    The spec passes.

    phs authored igrigorik committed
  10. @phs @igrigorik

    Ditch the predicates, given that the mock needs to call encode_query,…

    phs authored igrigorik committed
    … there's no good place to put them.
    
    Instead #encode_query takes the @options[:proxy] option directly.
  11. @phs @igrigorik

    Change #encode_query's signature to take just a uri and extra query p…

    phs authored igrigorik committed
    …arams, like #encode_request
  12. @phs @igrigorik

    Add two predicates: #proxy? holds if @options[:proxy] is present, #tu…

    phs authored igrigorik committed
    …nneling_proxy? holds for proxies where @options[:proxy][:tunnel] is not false.
    
    Note #tunneling_proxy? holds when :tunnel is not specified, making it the default.
  13. @phs @igrigorik

    Change the signature of HttpEncoding#encode_request to take the reque…

    phs authored igrigorik committed
    …st uri directly.
  14. @phs @igrigorik
  15. @igrigorik

    Merge branch 'proxy'

    igrigorik authored
    Conflicts:
    	lib/em-http/mock.rb
  16. @igrigorik

    webmock link in the readme

    igrigorik authored
Commits on Jul 20, 2010
  1. @igrigorik

    readme update

    igrigorik authored
  2. @igrigorik
  3. @phs

    Manually fix rebasing 95d6872 onto proxy branch.

    phs authored
    The patch didn't take cleanly in request_spec, but the spirit of it is to use the
    X_THE_REQUESTED_URI set by the direct test proxy in a spec.
  4. @igrigorik
  5. @igrigorik
Commits on Jul 19, 2010
  1. @joshbuddy

    better mock api, docs

    joshbuddy authored
Commits on Jul 18, 2010
  1. @igrigorik
Commits on Jul 17, 2010
  1. @phs
  2. @igrigorik
  3. @igrigorik
Commits on Jul 16, 2010
  1. @joshbuddy
  2. @joshbuddy
Commits on Jul 14, 2010
  1. @phs
  2. @phs

    Include proxy headers (including authorization) for all non-websocket…

    phs authored
    … requests, not just for CONNECT requests in the :response_proxy state.
  3. @phs

    The spec passes.

    phs authored
  4. @phs

    Ditch the predicates, given that the mock needs to call encode_query,…

    phs authored
    … there's no good place to put them.
    
    Instead #encode_query takes the @options[:proxy] option directly.
Commits on Jul 13, 2010
  1. @phs

    Change #encode_query's signature to take just a uri and extra query p…

    phs authored
    …arams, like #encode_request
  2. @phs

    Add two predicates: #proxy? holds if @options[:proxy] is present, #tu…

    phs authored
    …nneling_proxy? holds for proxies where @options[:proxy][:tunnel] is not false.
    
    Note #tunneling_proxy? holds when :tunnel is not specified, making it the default.
Something went wrong with that request. Please try again.