John Hiesey
663f88323c
2.8.2
v2.8.2
2018-05-09 19:26:31 -07:00
John Hiesey
12a0b3fd2a
npm update
2018-05-09 16:37:22 -07:00
John Hiesey
520cc451e8
Clear fetch timeout after request finishes
...
Instead of right when response is created, which misses timeouts
that occur later
2018-05-08 21:52:39 -07:00
John Hiesey
5c3b919dab
Fix edge tests
2018-05-08 21:52:05 -07:00
John Hiesey
5bc3a7205e
Add (disabled) test for timeout after success
...
Unfortunately, reasonable timeout lengths tend to cause
spurious failures, so this test shouldn't be enabled
normally.
2018-05-08 20:37:36 -07:00
John Hiesey
80cbe3c5fe
Improve fetch error handling
2018-05-08 17:36:01 -07:00
John Hiesey
c3ab1f7bf0
Update package-lock.json
2018-05-08 16:18:22 -07:00
John Hiesey
98095e85eb
Bump airtap version
2018-05-08 16:18:11 -07:00
John Hiesey
6547015c3d
Also clear fetch timeout on error
2018-05-08 16:13:41 -07:00
John Hiesey
4b8abf52f3
Fetch clearTimeout fixup
2018-05-08 16:07:46 -07:00
John Hiesey
472ed03ea7
Merge pull request #87 from luozhang002/fetchmode
...
fix:add clearTimeout issue#85
2018-05-08 16:04:48 -07:00
罗章
16ec2ee996
fix:add clearTimeout
2018-05-03 13:24:32 +08:00
John Hiesey
8cf284cd4b
2.8.1
v2.8.1
2018-03-14 13:27:52 -07:00
John Hiesey
709d1acc3d
Stop trying to run tests on iOS 8
...
It seems that this is no longer supported by Sauce Labs
2018-03-14 13:14:14 -07:00
John Hiesey
f800fad249
Fix incorrect definition of http.IncomingMessage
...
Also add test for top-level http properties, plus a stub http.globalAgent
Fixes #81
2018-03-14 13:08:47 -07:00
John Hiesey
920dd3cd48
Bump airtap version
2018-02-26 22:50:33 -08:00
John Hiesey
433d1d5e46
Stop testing safari 7 since sauce labs gives errors
2018-02-26 22:50:01 -08:00
John Hiesey
86bfe01159
Re-enable webworker test with workaround
2018-02-26 17:43:26 -08:00
John Hiesey
8188419852
Merge pull request #84 from jhiesey/airtap
...
Switch from zuul to airtap for running browser tests
2018-02-22 00:56:32 -08:00
John Hiesey
aa4882c7c6
Fix running browser tests locally with airtap
2018-02-22 00:40:33 -08:00
John Hiesey
d62864934a
Disable android 7 tests due to airtap issue
...
Upstream issue: https://github.com/airtap/browsers/issues/3
2018-02-22 00:29:58 -08:00
John Hiesey
e875fc72b0
Switch from zuul to airtap for tests
2018-02-21 22:22:04 -08:00
John Hiesey
38ffb38660
2.8.0
v2.8.0
2018-01-15 02:48:35 -08:00
John Hiesey
16c1baf178
Add Uint8Array support for body
...
This will be used if available. Fixes #57 and #80
2018-01-15 01:16:31 -08:00
John Hiesey
0ecf194fa4
Remove test support for older browsers
...
Opera (all versions) and Safari < 7 aren't supported by sauce labs
anymore, so don't test them.
2018-01-15 01:16:31 -08:00
John Hiesey
d4631b211c
Change timeout behavior
...
Add opts.requestTimeout. Fixes #66
2018-01-15 01:16:31 -08:00
John Hiesey
bf580d32dd
Expose ClientRequest and IncomingMessage constructors
...
For compatibility with node. Fixes #76 and #81 .
2018-01-15 01:16:31 -08:00
John Hiesey
80f74c2107
Update dependencies and add npm-shrinkwrap.json
2018-01-15 01:16:31 -08:00
John Hiesey
c2e1444670
Update documentation
2018-01-15 01:03:26 -08:00
John Hiesey
4fefc64d39
Don't emit error after destroyed
2018-01-15 01:03:26 -08:00
John Hiesey
f94670b6b4
Add proper abort/timeout support for fetch
...
Fixes #26 , finally!
2018-01-15 01:03:26 -08:00
John Hiesey
46c35150fc
Implement backpressure
...
Uses WritableStream, which is still quite new.
2018-01-15 01:03:07 -08:00
John Hiesey
c09a871543
2.7.2
v2.7.2
2017-06-12 13:21:48 -07:00
John Hiesey
856a572341
fix tests on Safari 10.0 on iOS 10.3
2017-06-12 13:01:14 -07:00
John Hiesey
4175a65117
Merge pull request #78 from EsrefDurna/master
...
updated package.json
2017-06-12 11:51:51 -07:00
Esref Durna
e2bfae151c
updated package cookie-parser from 1.3.5 to 1.4.3
...
Npm link : https://www.npmjs.com/package/cookie-parser
Repository link : https://github.com/expressjs/cookie-parser/releases
2017-06-12 01:24:11 +00:00
John Hiesey
8eab4b3e5f
2.7.1
v2.7.1
2017-05-08 17:44:33 -07:00
John Hiesey
46923f37d9
Fix Android tests
...
Not sure how this ever worked. This seems to have been broken for quite a while.
2017-05-08 17:31:38 -07:00
John Hiesey
2771d95bde
Merge pull request #77 from GusCaplan/patch-1
...
fix getHeader when header isn't available
2017-04-28 18:34:51 -07:00
Gus Caplan
7c2e61fac0
fix getHeader when header isn't available
2017-04-26 02:05:49 -05:00
John Hiesey
1dc9ea32f5
2.7.0
v2.7.0
2017-04-03 23:46:27 -07:00
John Hiesey
e8ed108767
Sauce labs no longer supports tests on android < 4.4
2017-04-03 23:45:47 -07:00
John Hiesey
4cf6771177
Disable broken timeout test
...
timeout support is fairly broken; see #66
2017-04-03 23:43:08 -07:00
John Hiesey
e54de15542
Handle arrays in request headers and improve header handling
...
Passing an array as a header value now works as in node.
Header handling with multiple values for the same header is also
tested, and mime type test updated for safari 10.1
Fixes #73
2017-04-03 22:25:57 -07:00
John Hiesey
943f5bc89d
use blacklist instead of whitelist for methods with bodies
...
Instead of only permitting bodies on certain methods, only
prohibit them when the browser would give an error (with fetch)
or ignore them (with XHR). This allows bodies with custom
methods and is closer to the behavior of http in node.
Fixes #69
2017-04-03 20:25:20 -07:00
John Hiesey
1c25d6f3a3
bump dependency versions
2017-04-03 20:20:47 -07:00
John Hiesey
b63537f11d
2.6.3
v2.6.3
2017-01-19 03:26:43 -08:00
John Hiesey
11d14fc642
Revert unnecessary part of previous change
2017-01-17 20:23:25 -08:00
John Hiesey
8e1f534a8a
Fix Edge fetch errors
2017-01-17 18:39:22 -08:00
John Hiesey
c1417c5dfa
2.6.2
v2.6.2
2017-01-16 02:00:08 -08:00