gonzalocasas / node-proxy-middleware

proxy as middleware
MIT License
146 stars 65 forks source link

Proxy exact URL #27

Closed xcompass closed 9 years ago

xcompass commented 9 years ago

I'm trying to proxy a URL http://localhost/session. On the backend side, I got http://localhost/session/ (with a trailing slash).

When I look at the test, I saw you have a "proxy exact URL": https://github.com/andrewrk/connect-proxy/blob/master/test/test.js#L116

Isn't "exact URL" should be exact? e.g. http://localhost:8074/foo should proxy to http://localhost:8075/foo, not /foo/? Is it a bug? Thanks.

andrewrk commented 9 years ago

fixed with PR #26