Nick Muerdter
a29b5e8e28
Correct keep-alive responses to HTTP 1.0 clients.
...
Since the proxy requests comes from NodeJS's HTTP 1.1 request client, a
backend server may default to setting Connection: keep-alive in its
response. However, the real HTTP 1.0 client may not be able to
handle that.
Force HTTP 1.0 client's to Connection: close, unless the client
explicitly supports keep-alive.
2013-04-18 16:33:10 -06:00
indexzero
5d515e4728
[api test] Manually merge #195 from @tglines since that fork was deleted. Update tests to use new macros. Fixes #195 . Fixes #60 .
2013-03-09 04:20:05 -05:00
Mikkel Garcia
46b078a98d
pathnameOnly flag added. Ignores hostname and applies routing table to the paths being requested.
2013-03-09 03:18:07 -05:00
pdoran
89d43c20dd
Added timeout option and test to test new timeout parameter, added requestFail assertion.
2013-03-09 03:04:29 -05:00
Gilad Oren
ecb547223f
Add tests for headers bug fixes
2013-03-09 01:05:27 -05:00
indexzero
36226daa2e
[dist] Complete JSHint compliance except for too many var statements
2012-07-22 03:14:01 -04:00
indexzero
828dbebcaa
[refactor test] Add support for http*-to-http* testing from CLI arguments
2012-07-22 01:03:41 -04:00
indexzero
e2dc7f9693
[refactor test] Finish removing old test code.
2012-07-21 20:46:30 -04:00
indexzero
4ae7a5b840
[refactor] Rewrite tests to use saner vows idioms. Update tests to use latest socket.io
2012-07-21 19:29:23 -04:00
Christian Howe
5d839dd5f8
Add tests for remapping URL properly.
2012-04-11 16:13:25 -04:00
Max Ogden
91e9bb9070
adding tests for url segment proxytable routing
2011-10-15 14:22:36 -07:00
Joshua Holbrook
66e982060c
[test] Added a test for the "x-forwarded-for" header
2011-09-20 13:33:07 -07:00
indexzero
734769fa9b
[test] Updated tests to reflect finalized API of the RoutingProxy
2011-09-10 03:55:35 -04:00
indexzero
5927ecd62a
[api test dist] Stubbed out the API for the higher-level RoutingProxy object to be exposed by node-http-proxy
2011-09-08 18:22:38 -07:00
indexzero
daf9231a66
[test fix] A few minor fixes to ensure basic WebSocket tests are working. Better scope tests by supported protocol
2011-08-28 05:06:14 -04:00