François Leurent
61c2889109
Do not rely on func.name (no scope)
2016-10-22 11:45:16 -04:00
François Leurent
fbc266809c
With a comment
2016-10-22 11:45:16 -04:00
François Leurent
8eddf45f2a
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') )
2016-10-22 11:45:16 -04:00
Jarrett Cruger
0db8f195d7
Merge pull request #759 from nodejitsu/ignore-path
...
[api] add an ignorePath option if you want to disregard the path of the ...
2015-04-20 16:47:27 -04:00
Jarrett Cruger
5a969d077b
Merge pull request #787 from mokafive/master
...
Fixes / additions to URL rewriting
2015-04-01 12:20:37 -04:00
ashubham
ab5c3e5c81
auth header added
2015-03-12 13:15:06 -07:00
Matt Hauck
7f2f3ac35c
Add support for auto host rewriting and protocol rewriting
...
auto host rewriting allows rewriting to work as expected in most
cases without extra cumbersome configuration
protocol rewriting allows node-http-proxy to be able to listen
over HTTPS and properly reverse-proxy to sites running over HTTP
(to avoid doing SSL twice)
2015-02-05 12:17:26 -08:00
Jarrett Cruger
9eefd4678e
[api] add an ignorePath option if you want to disregard the path of the incoming request when proxying to the target server fixes #758
2014-12-23 13:22:49 -05:00
Sam Saccone
add81338a9
📝 Add host rewrite docs and specs.
2014-11-23 19:22:07 -05:00
Alex Oshchepkov
1af8224cc1
changeOrigin option docs fix
2014-10-29 08:09:43 +05:00
Alex Oshchepkov
796ab0bcc5
Added changeOrigin option with test and docs
2014-10-29 07:25:19 +05:00
Arnout Kazemier
3ab6e9591e
[minor] Code style adjustment.
2014-09-12 19:13:53 +02:00
Jarrett Cruger
9a534c6ff6
[api] add prependPath option to go with path change
2014-09-11 18:51:49 -04:00
Jarrett Cruger
c6b7a7919f
[fix] always be an eventemitter for consistency fixes #606
2014-04-09 13:37:27 -04:00
Jarrett Cruger
eca765a856
[minor] missing angle bracket
2014-03-26 22:48:35 -04:00
Jarrett Cruger
5251a238e7
Merge branch 'customizeOutgoingAddress' of github.com:sberan/node-http-proxy into sberan-customizeOutgoingAddress
...
Conflicts:
lib/http-proxy.js
lib/http-proxy/common.js
2014-03-26 22:30:11 -04:00
Jarrett Cruger
a7b16eb136
[api] add toProxy method to allow absolute URLs to be sent when sending to another proxy fixes #603
2014-03-26 21:59:10 -04:00
Sam Beran
e633b0f7e4
Add support for localAddress
...
When we make outgoing requests, we may want to bind to a specific local
address. This change allows the localAddress property to be specified
via the options object.
2014-02-11 15:01:03 -06:00
yawnt
4351ed1c86
[fix] closes #547
2014-01-16 15:03:44 +01:00
Jarrett Cruger
6fa23e11f6
[fix] comments
2013-12-27 19:04:44 -05:00
Jarrett Cruger
182c76cd23
[api] export the httpProxy.Server as the main export but preserve the createServer factory
2013-12-27 19:01:28 -05:00
cronopio
fd42dcef01
[tests] https test pass, fix #511 . Exposed the rejectUnauthorized flag
2013-11-07 15:09:37 -05:00
yawnt
d0862aff0c
[fix] merge #495 , thanks @glasser
2013-11-07 19:13:09 +01:00
yawnt
cde08fb2ee
[fix] closes number #487
2013-11-07 19:05:59 +01:00
cronopio
86750c7e59
[tests] throw error when no options, ALL TESTS PASSING! YAY
2013-10-10 11:04:17 -05:00
cronopio
b333e63648
[tests] fixing minor typos
2013-10-09 11:04:41 -05:00
yawnt
3d8e5383cd
[fix] better code
2013-10-09 17:31:02 +02:00
yawnt
601dbcbfe9
[fix] refactor error handling
2013-10-09 16:59:03 +02:00
yawnt
b79bd29d5e
[feature] start working on the new server
2013-10-08 22:24:16 +02:00
yawnt
8269eca2bb
[fix] tests
2013-09-26 11:13:16 +02:00
indexzero
bb0d28c587
[refactor minor] s/caronte/http-proxy/ or s/caronte/httpProxy/ where appropriate.
2013-09-26 03:37:08 -04:00