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
John Hiesey
8df10e0d65
Avoid passing undefined to xhr.send()
...
Provides a more elegant fix to #67
2017-01-16 01:57:32 -08:00
John Hiesey
5ee30ad5cc
Fix timeout test failure
2017-01-16 00:35:53 -08:00
John Hiesey
9321e56abd
2.6.1
v2.6.1
2017-01-11 23:44:27 -08:00
John Hiesey
881e7c8f3d
Merge pull request #65 from jhiesey/csp-xhr-fix
...
Avoid xhr request to example.com if fetch is supported
2017-01-11 22:44:35 -08:00
Feross Aboukhadijeh
43761f2799
Avoid xhr request to example.com if fetch is supported
...
For: https://github.com/brave/browser-laptop/issues/5981
2017-01-10 22:17:09 -08:00
John Hiesey
70f8c7d0b7
2.6.0
v2.6.0
2017-01-06 01:58:52 -10:00
John Hiesey
f304ef13a2
bump builtin-status-codes version
2017-01-06 01:24:15 -10:00
John Hiesey
e8ef98b286
style consistency
2017-01-06 01:04:07 -10:00
John Hiesey
3af33f862f
Merge pull request #61 from dominictarr/master
...
if xhr.open throws, then no xhr is allowed
2017-01-06 03:00:46 -08:00
John Hiesey
138d6c1d29
Merge pull request #62 from rlisagor/master
...
Catching fetch `read()` errors
2017-01-06 02:57:53 -08:00
Roman Lisagor
f97dd885ea
Catching fetch read() errors
...
Errors that occur while reading from the ReadableStream that is returned as part of a `fetch` request were not handled. This change propagates these errors up to the `ClientRequest`.
2017-01-04 14:41:01 -08:00
John Hiesey
f9fb1c724c
Merge pull request #55 from node-influx/master
...
Support timeout option in http.request
2016-12-27 13:44:03 -08:00
Dominic Tarr
1b077bf249
if xhr.open throws, then no xhr is allowed
2016-12-09 21:04:31 +01:00
John Hiesey
e342cdbb10
Merge pull request #59 from mikeal/service-worker
...
Adding support for Service Workers.
2016-11-16 19:22:00 -08:00
Mikeal Rogers
0a04a09f68
Adding support for Service Workers.
2016-11-16 19:18:19 -08:00
John Hiesey
8c07b21b82
2.5.0
v2.5.0
2016-11-03 22:16:57 -07:00
John Hiesey
662b9626be
Merge pull request #58 from XiaoningLiu/master
...
Add payload for Microsoft Azure Storage MERGE method
2016-11-03 22:15:19 -07:00
Xiaoning Liu
abdc5573da
Add payload for Microsoft Azure Storage MERGE method
2016-11-04 11:35:18 +08:00
John Hiesey
525957277a
2.4.1
v2.4.1
2016-10-28 01:22:01 -07:00
John Hiesey
4e7103a5a9
Fix feature testing on IE
...
The previous commit broke IE<=9, since xhr doesn't work cross-domain.
When XDomainRequest is available, use the current page instead of
example.com
2016-10-27 20:03:14 -07:00
John Hiesey
34aa684789
Always use example.com for feature testing
...
Previously, there was some logic to use the page host
when possible, but it was problematic still (e.g. #53 ).
Just use example.com in all cases instead. Since the
request is never sent, this shouldn't cause extra
network traffic (except perhaps a dns lookup).
Fixes #53
2016-10-27 19:05:25 -07:00
John Hiesey
11ac890744
Merge pull request #56 from dandv/patch-1
...
Fix capitalization
2016-10-27 18:48:23 -07:00
John Hiesey
33587da68d
Merge pull request #54 from ecoslado/edge-silent-error
...
Replaces symbol iterator with foreach function
2016-10-27 18:46:09 -07:00
ecoslado
5cf0329683
Revert "Adding comments"
...
This reverts commit 0cc4549d4e .
2016-10-24 17:12:14 +02:00
ecoslado
0cc4549d4e
Adding comments
2016-10-19 10:23:34 +02:00
Dan Dascalescu
64e2d89062
Fix capitalization
2016-10-17 22:29:23 -07:00
Connor Peet
57d0ab245f
Support timeout option in http.request
2016-10-17 19:17:44 -07:00
ecoslado
4b9bbe04b2
Replaces symbol iterator with foreach function
2016-10-10 15:31:35 +02:00
John Hiesey
92500c71be
2.4.0
v2.4.0
2016-09-08 16:38:51 -07:00
John Hiesey
05c6f4394c
Merge pull request #52 from jhiesey/bump-test-node-ver
...
Bump travis node version
2016-09-08 15:57:23 -07:00
John Hiesey
9ed7614aed
Bump travis node version
...
Trying to debug tests that fail only on travis
2016-09-08 15:48:33 -07:00
John Hiesey
bad84ecb3a
Merge pull request #51 from alexjeffburke/allow-disabling-fetch
...
Allow using a mode to disable the use of fetch
2016-09-08 14:37:38 -07:00