9 Commits
Author SHA1 Message Date
John Hiesey 8cab16f26e Change window to global for WebWorker support 2015-09-14 18:18:53 -07:00
John Hiesey a91ed0db64 Modify feature testing to avoid warnings in Chrome
Previously, testing for 'ms-stream' and 'moz-chunked-arraybuffer'
support on the xhr object caused warnings to appear in Chrome.
Since fetch will always be used instead of these when available,
short-circuit and return false when fetch is available.
2015-08-20 01:06:34 -07:00
John Hiesey da4085e33d Make content-type header correct by default
The default behavior now preserves the 'content-type' header, at
the expense of not providing pseudo-streming in Safari, generic
WebKit, and older Chrome. Applications that require streaming
and already use 'prefer-stream' mode will not be affected.

The 'prefer-fast' mode is now deprecated, as that behavior now
matches the default. The 'allow-wrong-content-type' mode is new;
it gives the same behavior as the old default in case binary
streaming is essential.

Fixes #8
2015-08-20 01:01:40 -07:00
John Hiesey 221ce6d7bd Merge remote-tracking branch 'bendrucker/no-util' 2015-07-12 15:14:09 -07:00
John Hiesey 4232780821 Add POST tests and fix test failures 2015-07-07 16:35:16 -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 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 c779668f86 repo cleanup 2015-07-02 14:44:13 -07:00