Commit Graph

55 Commits

Author SHA1 Message Date
36611d0d68 fix clientAction tests 2015-05-13 08:26:02 -05:00
c57e509267 remove old comments 2015-04-21 11:41:58 -07:00
55aff23c1e added support for unbounded skip expressions 2015-04-21 11:40:43 -07:00
7f468d2064 Unify auth handling in the Host class
- flatten auth config to an Authorization header when the Host is created
 - remove individual Authorization handling from connectors
 - removed incomplete support for per-request auth
 - use per-request headers to provide your own Authorization header per request
2015-04-10 09:46:21 -07:00
3005201732 test for an api that every version of the client has 2015-03-26 14:44:39 -07:00
ae69f624a7 added timer stubs for clear, since not all platforms accept a number in clearTimeout 2015-03-26 13:55:25 -07:00
867e3ae569 Revert "remove timer specifications"
This reverts commit 878fb67801.
2015-03-26 13:54:05 -07:00
a46cfe529f added tests for pintTimeout 2015-03-26 13:03:15 -07:00
878fb67801 remove timer specifications 2015-03-17 14:20:59 -07:00
ec6b0fcefc auditted lodash usage to ensure that it is compatible with lodash 3.0 2015-03-17 13:52:10 -07:00
ed26798e5e update stream clearing to be compatible with node 0.12 2015-03-17 12:03:39 -07:00
c991b589a4 transition away from lodash-node 2015-03-17 11:59:06 -07:00
88bff6e67d fix test for IE 2015-01-11 00:46:10 -07:00
3b69e21262 update tests to use new timer object 2015-01-09 23:23:06 -07:00
547ff26104 fix test that now uses through2 2015-01-09 22:34:43 -07:00
93ea7a3fac save 2015-01-06 07:08:17 -07:00
4fc1c91634 add SSL configuration options 2015-01-05 12:56:48 -07:00
4c1db66521 allow specifying the hostname as the host, eg. host: 'localhost' 2014-11-07 18:48:11 -07:00
165b7d7986 expand the url parsing ability of the Host class 2014-11-07 18:11:59 -07:00
44490e16ae added a note to the config docs about the suggestCompression setting 2014-09-08 16:22:15 -07:00
4e8d267d71 added tests verifying the global config is always passed to the host. 2014-09-08 16:12:35 -07:00
eb4e0136a6 added a few tests checking the headers actually being set 2014-09-08 13:11:15 -07:00
6e2c2a8417 added suggestCompression config 2014-09-04 16:05:58 -07:00
a0ffe50745 converted decompression to use streams rather than callbacks 2014-09-04 16:05:54 -07:00
83b6400000 adding check and test for deflate algo 2014-09-04 18:14:42 -03:00
aec0333a91 This will add the capability for handling gzipped content to the
http connector. On one hand, the response is handled with buffers
instead of assuming it is a string, and then depending on the
presence of the "content-encoding" header, will try to uncompress
the response or return it as it is. Either way, it will try to
handle the final result as an utf8 encoded string
2014-09-02 14:48:27 -03:00
00a721a112 another attempt to prevent failures because of visionmedia/mocha#1292 2014-07-30 10:10:41 -07:00
5ade73c8bb forcing the latest version of mocha because of visionmedia/mocha#1292 2014-07-30 10:06:49 -07:00
0e05b0f0a1 updated tests to be compatible with the limited api version available in the browser_client, and updated grunt-saucelabs 2014-07-30 10:01:43 -07:00
017a554683 fixed the match action in the yaml tests to follow updated conventions. 2014-07-29 22:03:20 -07:00
e8144714a8 added feature detection for native KeepAlive support in 0.11 2014-07-10 18:06:14 -07:00
c1f1f40194 set the 1.2 API to actually be used as the default 2014-05-22 08:26:58 -07:00
dfca8f574f fixed stupidly specific test 2014-05-02 09:52:11 -07:00
b1ee674613 fixed tests for host that were too specific to begin with 2014-04-01 18:23:05 -07:00
2eefd190a1 Fixes the sniffOnConnectionFault config parameter 2014-04-01 18:23:05 -07:00
af89a4917f test fixes... 2014-03-28 16:11:00 -07:00
04fb8c6443 version 2.1.0 2014-03-27 13:59:40 -07:00
6ca5453195 updated the keepalive test so that it uses IPC instead of output parsing. 2014-03-27 10:41:01 -07:00
4ab22a1a61 switched to bluebird for promise support 2014-03-27 09:49:21 -07:00
ffea4eb478 tests now look for the 1.0 API by default 2014-03-27 08:08:37 -07:00
bfa6c40157 Updated nodes_to_host callback
Now, it will properly ignore nodes without HTTP enabled, and nodes with addresses that don't match the pattern will not cause all hell to break loose but rather log an error message and cancel the sniff.
Also comes with minor updates to the API.
2014-03-18 11:45:59 -07:00
f389ce7583 reworked the client action tests to ensure that params are not being clobbered in several places, and adjusted the new test to make sure that index is not duplicated in the query params 2014-02-17 10:47:48 -07:00
ed3274547e do not mutate incoming params object 2014-02-17 17:06:44 +01:00
697c761b71 fixed the force closing of the forever agent, which was removing items from the same array it was itterating. 2014-02-17 01:11:53 -07:00
76b69b7a9e Use the transport's defer method within the client_action to ensure we use the configured promises everywhere. Allow search requests to be made without any arguments. 2014-02-14 16:03:04 -07:00
03f7a844a3 use lodash-node rather than vanilla lodash so that lodash doesn't attach to require js even when it's available. 2014-02-11 16:08:10 -07:00
257d596207 attempting to diagnos random issues with the client.close() test 2014-02-10 13:49:02 -07:00
1dca382625 turns out 1 second might not be enough 2014-02-07 14:00:05 -07:00
a09c6268a2 on node 0.8 cp.fork does not let the process die when the event loop is empty 2014-02-07 13:39:01 -07:00
327f191056 fixed and added a test for keepalive connection pool forced shutdown 2014-02-06 22:30:29 -07:00