473 Commits (pipe-to-data)
 

Author SHA1 Message Date
Luke Childs cdb226086c pip to data 8 years ago
Luke Childs df152e2325 Test stream responses are cached 8 years ago
Luke Childs 7d4365ec25 Check in binary test that data actually is binary 8 years ago
Luke Childs b3f23ea9cd Move test server endpoints out into test.before 8 years ago
Luke Childs f2026dc68b Test cached response is re-encoded to current encoding option 8 years ago
Luke Childs 4e98913981 Test binary responses are cached 8 years ago
Luke Childs a31c966e23 Store body data encoding so we can reliably convert to buffer 8 years ago
Luke Childs f64dcc7f69 Move server endpoints inside test function for readability 8 years ago
Luke Childs e4ae2c68b9 Don't serialize cache object to JSON 8 years ago
Luke Childs 39811aa860 Object destructuring on single line 8 years ago
Luke Childs b8b341166d Don't store stream in unnecessary variable 8 years ago
Luke Childs 903fbfaa84 Store status code and url in cache. Don't store headers. 8 years ago
Luke Childs b0490ca4a3 Simplify cache option check 8 years ago
Luke Childs b65128e113 Move cache read logic into separate function 8 years ago
Luke Childs b3201ea733 Use Map() as cache store in cache tests 8 years ago
Luke Childs 817de11b72 opts.cache API should match Map() API 8 years ago
Luke Childs 5ec945f527 Allow opts.cache.get to return value or Promise 8 years ago
Luke Childs 011ea0e50c Include method in cache key 8 years ago
Luke Childs 0d6180a279 If we retrieve a stale cache entry, delete it immediately 8 years ago
Luke Childs 0f6f944b9e Drop expired for http-cache-semantics 8 years ago
Luke Childs 28112935ca Add basic cache tests 8 years ago
Luke Childs 49b6f00763 Return cached response immediately if not stale 8 years ago
Luke Childs 43023d5818 Optional response caching 8 years ago
Alexander Tesfamichael 21c5c78da7 Simplify URL argument test (#296) 8 years ago
Luke Childs 7b12b7582d Don't throw HTTPError on 304 responses (#252) 8 years ago
Alexander Tesfamichael a287f8ec8a Add url to errors (#286) 8 years ago
Sindre Sorhus a5f2730f48 Remove Node.js 4.4.4 from testing 8 years ago
Sindre Sorhus 62225224b8 Remove now moot workaround for flaky tests 8 years ago
Sindre Sorhus 1f1b6ffb6d Bump dependencies and fix lint issues 8 years ago
Alexander Tesfamichael a6907b4399 Use error constructor to check for ParseError (#273) 8 years ago
Alexander Tesfamichael 919703cd8e Add protocol to stdError (#277) 8 years ago
Alexander Tesfamichael 39bf828251 Make (more) sure the error we get is the one we expect (#267) 8 years ago
Sindre Sorhus c9b8a3b567 Bump `ava` 8 years ago
Francis Gulotta 32aa9ecbdb Add an AWS service example (#255) 8 years ago
Mark Herhold f01c99d74e Test against Node.js v7, remove v5 (#258) 8 years ago
Vsevolod Strukchinsky 52da6067dd 6.7.1 8 years ago
Vsevolod Strukchinsky 580abc07f8 fix test/retry.js 8 years ago
Vsevolod Strukchinsky 52ddf95efc rename timeout option before passign to http.request 8 years ago
Vsevolod Strukchinsky e367ee460b 6.7.0 8 years ago
Vsevolod Strukchinsky e21d46e110 bump timed-out 8 years ago
Alexander Tesfamichael 4b7fb5d5d2 Strengthen expect undefined tests (#254) 8 years ago
Dmitry Tsvettsikh 53b11e3539 use `safe-buffer` (#253) 8 years ago
Vsevolod Strukchinsky 8859a0f446 tune timeout description 8 years ago
Sindre Sorhus 88a8ac8ac3 bump `nyc` 8 years ago
Sindre Sorhus 98aa20682d drop the `node-status-code` dependency 8 years ago
Sindre Sorhus e1ca864d9e minor cleanup 8 years ago
Sindre Sorhus 79dd0d9686 bump dependencies 8 years ago
Sindre Sorhus 16b2051579 bump AVA 8 years ago
Sindre Sorhus 3b2200f81d improve test performance 8 years ago
Vsevolod Strukchinsky b61401d631 ensure that piping really works 8 years ago