Timothy Gu
|
29e9f5eef6
|
Add guide to upgrade to v2
|
2016-12-12 13:50:05 -08:00 |
Timothy Gu
|
9351084a98
|
Update README for ES2015
|
2016-12-12 12:55:28 -08:00 |
Jimmy Karl Roland Wärting
|
030bf27943
|
Documentation update for v2 (#214)
|
2016-12-08 19:18:06 -08:00 |
Timothy Gu
|
0f7e6c15d3
|
Back to 100%
|
2016-12-05 21:20:00 -08:00 |
Timothy Gu
|
4a153ff004
|
Update changelog
See #209.
|
2016-12-05 20:42:00 -08:00 |
Timothy Gu
|
90d3bc4436
|
Set content-length for buffer bodies
|
2016-12-05 20:30:00 -08:00 |
Timothy Gu
|
a604069860
|
More exact content-type and content-length
Set content-type of requests with body being objects to text/plain
|
2016-12-05 20:27:08 -08:00 |
Timothy Gu
|
385ca6b2b0
|
To 100% branches coverage
|
2016-12-05 19:48:59 -08:00 |
Timothy Gu
|
552c1a601d
|
Bring coverage up to 100%
|
2016-12-05 18:46:02 -08:00 |
Timothy Gu
|
4d944365df
|
Fix tests added in the last commit
|
2016-12-05 15:21:19 -08:00 |
Timothy Gu
|
e7a13a5314
|
Add support for blobs
|
2016-12-05 15:06:22 -08:00 |
Timothy Gu
|
cc4ace1778
|
Make body default to null in Request
Fixes #208.
|
2016-12-04 13:16:03 -08:00 |
Timothy Gu
|
3d676235a8
|
Throw when a GET/HEAD Request is created with body
As mandated by the spec
|
2016-12-04 13:15:03 -08:00 |
Timothy Gu
|
70f61e0c7d
|
Split http.request options generation
|
2016-11-26 15:10:23 -08:00 |
Timothy Gu
|
0285828fb8
|
Split Content-Type extraction to Request and Body
It is done in this way in the spec.
|
2016-11-26 15:10:23 -08:00 |
Timothy Gu
|
d3071fa46a
|
Revert "Return empty .json() object on 204. Fix #165. (#166)" (#201)
This reverts commit 95b58936b8 .
Fixes #165.
|
2016-11-26 09:07:12 -08:00 |
Timothy Gu
|
7f0e50260e
|
Add a polyfill for Node.js v0.12's broken %IteratorPrototype%
|
2016-11-23 15:26:35 -08:00 |
Timothy Gu
|
25ff99677d
|
Improve Headers' iteration support
Class strings, spec-compliant forEach, etc.
|
2016-11-23 15:06:30 -08:00 |
Timothy Gu
|
4ae42ea5ee
|
Fix class names for prototypes
Per Web IDL specification.
|
2016-11-23 14:36:21 -08:00 |
Timothy Gu
|
25d139a4d0
|
Officially drop support for 0.10
Current LTS releases are added.
|
2016-11-23 11:50:36 -08:00 |
Timothy Gu
|
049585be11
|
Revert to cross-env 2.0.1
The Object.assign used in that module is not polyfilled.
|
2016-11-23 11:43:51 -08:00 |
Timothy Gu
|
908bcaac4c
|
Work around istanbul's bug
See istanbuljs/istanbul-lib-instrument#30.
|
2016-11-23 11:39:18 -08:00 |
Timothy Gu
|
a355664e64
|
Update packages
|
2016-11-23 11:30:01 -08:00 |
Timothy Gu
|
31bc2835dd
|
Start using Rollup
Smaller distributed tarball.
|
2016-11-23 11:18:02 -08:00 |
Timothy Gu
|
5fe80dba06
|
Remove dependency on babel-polyfill
This way the tests can better emulate the real Node.js environment.
|
2016-11-05 10:26:30 -07:00 |
Timothy Gu
|
72d34af6e2
|
Start test server when executed directly
|
2016-11-05 09:39:01 -07:00 |
Timothy Gu
|
4a9a3246f6
|
Remove dependency on Node.js' util module
Closes #194.
|
2016-11-04 21:52:18 -07:00 |
Timothy Gu
|
76cb57cace
|
Support WHATWG URL objects
Fixes #175.
|
2016-10-15 10:19:52 -07:00 |
Timothy Gu
|
b092a8ed12
|
Add test for constructing Request with parsed URL object
|
2016-10-15 10:19:52 -07:00 |
Timothy Gu
|
53e1055845
|
Use Object.create(null) for Headers' internal map
Suggested by @jimmywarting.
|
2016-10-15 10:03:10 -07:00 |
Timothy Gu
|
1b951701ec
|
Remove logic to skip if not HTML in textConverted
As this function is now separated from the general purpose text(), we
should be more specific in our purpose.
|
2016-10-15 09:41:52 -07:00 |
Timothy Gu
|
d3b4161d7c
|
Add a new res.textConverted() and always use UTF-8 for res.text()
Also uses iconv-lite directly instead of using the "encoding" package.
Fixes #184.
|
2016-10-15 09:41:52 -07:00 |
Timothy Gu
|
c7a912cf5b
|
Merge branch 'master' into v2
Conflicts:
.gitignore
package.json
|
2016-10-15 09:31:58 -07:00 |
Timothy Gu
|
d708acfb9c
|
Cache node_modules in Travis
[ci skip]
|
2016-10-15 09:17:47 -07:00 |
Timothy Gu
|
8f3e886c7f
|
Switch to Codecov
Fixes #186.
|
2016-10-15 09:17:47 -07:00 |
Timothy Gu
|
f829b71ddb
|
Use babel-runtime's Iterator implementation
|
2016-10-15 08:21:51 -07:00 |
Timothy Gu
|
2a7ef63bc4
|
Add FOLLOW_SPEC mode
|
2016-10-15 08:21:51 -07:00 |
Timothy Gu
|
2cafdcb5e4
|
Validate headers
|
2016-10-15 08:21:51 -07:00 |
Timothy Gu
|
fba873d3fe
|
Make sure to coerce header values to string
|
2016-10-15 08:21:51 -07:00 |
Timothy Gu
|
ba226399d4
|
Construct Headers object in a spec-compliant fashion
|
2016-10-15 08:21:51 -07:00 |
Timothy Gu
|
82c1e78184
|
Allow constructing Headers with an Array
|
2016-10-15 08:21:51 -07:00 |
Timothy Gu
|
a914cca577
|
Remove all information related to Coveralls
|
2016-10-13 00:46:01 -07:00 |
Timothy Gu
|
ba8c392965
|
Cache node_modules in Travis
[ci skip]
|
2016-10-13 00:42:26 -07:00 |
Timothy Gu
|
b9b0341db7
|
Add Codecov badges and settings
|
2016-10-13 00:40:36 -07:00 |
Timothy Gu
|
ea111626e9
|
Switch to Codecov
Fixes #186.
|
2016-10-13 00:32:52 -07:00 |
Timothy Gu
|
67326e3873
|
Condense class toString tests
|
2016-10-12 20:51:19 -07:00 |
Timothy Gu
|
c2c6550e54
|
Use loose mode when compiling Babel
|
2016-10-12 18:18:37 -07:00 |
Timothy Gu
|
4d81cb4877
|
Test @@toStringTag getter of all classes
|
2016-10-12 17:29:33 -07:00 |
Timothy Gu
|
0f65af3fd8
|
Split Headers iterable test into four
|
2016-10-12 17:29:33 -07:00 |
Timothy Gu
|
c3a121a360
|
Add support for Body#arrayBuffer
|
2016-10-12 17:29:33 -07:00 |