John Hiesey
5e81240a05
add process.nextTick for 'close'
2015-07-13 18:14:30 -07:00
John Hiesey
6b544c54a3
Fix spelling of 'destroyed'
2015-07-13 16:45:46 -07:00
John Hiesey
734974d279
Improve behavior of request.prototype.abort() and add destroy synonym
2015-07-13 16:37:04 -07:00
John Hiesey
57ce59c207
Re-add close event on response
2015-07-13 16:07:46 -07:00
John Hiesey
916ab55402
Hide warnings for unsafe headers
2015-07-12 21:25:08 -07:00
John Hiesey
73f1e6f3f0
Stop emitting 'close'
...
1. This fixes an issue where the `response` module emits an extra
'end'
2. Node doesn't seem to emit 'close', even if "Connection: close"
is specified
3. There isn't a real socket, and this module already doesn't
emit the other socket-related events (and this is documented)
2015-07-12 21:08:00 -07:00
John Hiesey
d700e6d8d9
Fix withCredentials flag for fetch implementation
2015-07-12 20:41:20 -07:00
John Hiesey
221ce6d7bd
Merge remote-tracking branch 'bendrucker/no-util'
2015-07-12 15:14:09 -07:00
John Hiesey
9d80ac6def
Fix unnecessary uses of util
2015-07-12 15:10:37 -07:00
John Hiesey
4eed14a948
Readme improvements
2015-07-07 22:21:01 -07:00
John Hiesey
03aeb58709
Mask high bits out of binary data read as text
2015-07-07 21:13:12 -07:00
John Hiesey
cb14102dcd
Emit 'socket' for fetch
2015-07-07 20:25:03 -07:00
John Hiesey
333d07b500
Remove extraneous try/catch
2015-07-07 19:25:25 -07:00
John Hiesey
03ba151a6f
Test prefer-binary
2015-07-07 19:02:22 -07:00
John Hiesey
89c8220dac
Error handling improvements
2015-07-07 18:49:17 -07:00
John Hiesey
4232780821
Add POST tests and fix test failures
2015-07-07 16:35:16 -07:00
John Hiesey
98a3dadbdf
Fix basic auth support and add test
2015-07-07 14:35:15 -07:00
John Hiesey
35b1c7a58b
Add http-browserify test and reorg tests
2015-07-07 13:40:05 -07:00
John Hiesey
0e1bfedfa1
Rework url logic
2015-07-07 13:15:26 -07:00
John Hiesey
90d812ad44
Lots of fixes plus headers test
2015-07-07 12:52:38 -07:00
Ben Drucker
3f96e0550b
Replace util.inherits with inherits module
...
Also inlines util.isFunction
Reduces bundle size by not including extraneous code
2015-07-03 09:21:06 -04:00
John Hiesey
157b71a58d
Add binary streaming test
2015-07-03 02:52:10 -07:00
John Hiesey
a29ea0ccab
Add text streaming test
2015-07-02 22:01:32 -07:00
John Hiesey
8985094a2b
Support binary requests in IE9
2015-07-02 20:00:16 -07:00
John Hiesey
db953820d0
Fix arraybuffer mode
2015-07-02 18:18:43 -07:00
John Hiesey
ca29b49a8a
Use only features supported in ie8
2015-07-02 16:11:33 -07:00
John Hiesey
c779668f86
repo cleanup
2015-07-02 14:44:13 -07:00