Skip to content
This repository was archived by the owner on Sep 3, 2018. It is now read-only.

Pull latest upstream changes and remove redundant require("child_process") #1

Merged
merged 19 commits into from
Oct 13, 2016
Merged

Pull latest upstream changes and remove redundant require("child_process") #1

merged 19 commits into from
Oct 13, 2016

Conversation

0xl3x1
Copy link

@0xl3x1 0xl3x1 commented Oct 13, 2016

Pull latest upstream changes and remove redundant require("child_process")

jacwright and others added 19 commits August 8, 2014 12:47
I've made the request headers case insensitive for setting and getting by creating a mapping hash to map the insensitive names with the ones used in setting. I've also fixed setRequestHeader to append values to existing ones as per the spec. Because of this I needed to set the defaults on send if they haven't been set previously (user-agent obviously can't because it's in the restricted list).
2) the status property must return 0 if the error flag is set
When the URL is just a relative path, as in /blah/bleh, at least in v0.12.7, url.protocol is not set at all, thus, it’s null.
Consider null protocol as missing protocol, not an unsupported one.
Add events `error` and `abort`
Expose xhr.withCredentials with correct default
Fixes request headers to conform to spec more closely.
@gena gena merged commit 3a57126 into gena:master Oct 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants