Permalink
Commits on Jan 11, 2017
  1. Update README.md (#1131)

    Update link to properties
    eladb committed with jcrugzz Jan 11, 2017
Commits on Dec 24, 2016
  1. [fix] rm newline

    jcrugzz committed on GitHub Dec 24, 2016
  2. Update README.md with CoC link (#1120)

    * Add Code Of Conduct
    
    * Update CODE_OF_CONDUCT.md
    
    Fix placeholder
    
    * Update REAME.md
    Ivan Nieto committed with jcrugzz Dec 24, 2016
  3. Add Code Of Conduct (#1119)

    * Add Code Of Conduct
    
    * Update CODE_OF_CONDUCT.md
    
    Fix placeholder
    Ivan Nieto committed with jcrugzz Dec 24, 2016
Commits on Dec 16, 2016
Commits on Dec 6, 2016
  1. 1.16.2

    jcrugzz committed Dec 6, 2016
  2. [WIP] Revert default behavior of writeHeaders method (#1104)

    * Replace header key only
    
    * Add preserveHeaderKeyCase Option
    pachirel committed with jcrugzz Dec 6, 2016
Commits on Dec 4, 2016
  1. [dist] Version bump. 1.16.1

    jcrugzz committed Dec 4, 2016
Commits on Dec 2, 2016
  1. 1.16.0

    jcrugzz committed Dec 2, 2016
  2. Keep original letter case of response header keys (#1098)

    * Keep original letter case of response header keys
    
    * Support node older than v0.11.6
    
    messege.rawHeaders was added in v0.11.6
    
    * Extract duplicated logic to method
    pachirel committed with jcrugzz Dec 2, 2016
Commits on Dec 1, 2016
Commits on Nov 29, 2016
  1. add node 6 to travis

    purificant committed with jcrugzz Nov 27, 2016
Commits on Oct 22, 2016
  1. 1.15.2

    jcrugzz committed Oct 22, 2016
  2. [fix] style nits

    jcrugzz committed Oct 22, 2016
  3. Expose full callback names

    131 committed with jcrugzz Oct 22, 2016
  4. Do not rely on func.name (no scope)

    131 committed with jcrugzz Sep 20, 2016
  5. Do not rely on func.name (no scope)

    131 committed with jcrugzz Sep 20, 2016
  6. With a comment

    131 committed with jcrugzz Sep 17, 2016
  7. Fix browserification

    Browserify fails to resolve the "./http-proxy/" as "./http-proxy/index.js" but as "./http-proxy.js" (so nothing works)
    Beeing explicit here does not cost much for http-proxy, yet it's intrinsically complicated for browserify to fix (as trailing slash might be used as a pollyfill shim for native/non-natives addons i.e.  require('url/') vs require('url') )
    131 committed with jcrugzz Jul 20, 2016
Commits on Oct 6, 2016
  1. test case added

    Niranjan Ojha committed with jcrugzz Oct 6, 2016
Commits on Oct 4, 2016
  1. Add proxy-timeout option to documentation (#1075)

    http-proxy provides a [proxyTimeout option](https://github.com/nodejitsu/node-http-proxy/blob/master/lib/http-proxy/passes/web-incoming.js#L122) that allows us to set a timeout on the outgoing socket connection to the target. This timeout is very effective when the upstream target does not respond within an expected time.
    
    I had wasted a few hours searching for this option. Documenting this option can save others a significant amount of time.
    ashishdahiya committed with jcrugzz Oct 4, 2016
Commits on Sep 14, 2016
  1. [dist] Version bump. 1.15.1

    jcrugzz committed Sep 14, 2016
  2. [dist] Version bump. 1.15.0

    jcrugzz committed Sep 14, 2016
Commits on Sep 13, 2016
  1. Fix for Reason-Phrase being overwritten on proxy response. (#1051)

    * Fix for Reason-Phrase being overwritten on proxy response.
    
    Calling res.writeHead has the side effect of defaulting the Reason-Phrase to default ones.  I'm using Reason-Phrase codes to sub-route api responses and they were all being reset.  This change only sets the statusMessage (Reason-Phrase) if it exists on the proxyRes and is successfully passing it through in my tests.
    
    * Fixed spaces and bracket formatting.
    cchamberlain committed with jcrugzz Sep 13, 2016
Commits on Aug 12, 2016
Commits on Aug 11, 2016
  1. Restream body before proxying (#1027)

    Support for bodyparser.json and bodyparser.urlencoded.
    
    Fixes #955 #843 #791
    matibek committed with jcrugzz Aug 11, 2016
  2. Location rewriting for responses with status 201 (#1024)

    Implement rewriting of the location header for responses with status code 201, according to RFC2616 section 10.2.2
    gabrielboucher committed with jcrugzz Aug 11, 2016
  3. #866 Copy CA from options into outbound proxy (#1042)

    While using secure: true for proxy connections, there is no way to pass the trusted root CA(s) or intermediate CA(s). This change allows that to be passed in the httpProxy createServer options and used for the outgoing proxy connection.
    predhme committed with jcrugzz Aug 11, 2016