Nick Muerdter
daf53bd753
Don't test raw HTTP 1.0 requests over HTTPS.
2013-04-18 18:11:58 -06:00
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
Maciej Małecki
2e7d8a88f4
[fix] Partial fix for rejecting self-signed certs in tests
...
Since joyent/node@35607f3a2d , https and
tls modules validate server certificate by default. Turn this feature
off since we're using self-signed certificates in tests.
Currently wss tests are still failing, pending investigation.
Commited on a plane from Poznań to Munich.
2012-09-27 10:00:10 +02:00
indexzero
a454666e7a
[fix] Ignore npm version errors when installing dependencies for examples
2012-07-26 04:53:48 -04:00
indexzero
fd648a5290
[fix test] Fix examples to use newest version of socket.io and helpers. Added tests for ensuring that examples require as expected with no errors.
2012-07-26 04:29:47 -04:00
indexzero
36226daa2e
[dist] Complete JSHint compliance except for too many var statements
2012-07-22 03:14:01 -04:00
indexzero
7e854d778b
[refactor tests] Finished refactoring tests to support ws*-to-ws* tests based on CLI arguments
2012-07-22 01:38:23 -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