Permalink
Commits on Mar 29, 2018
  1. Merge pull request #164 from donmccurdy/feat-ipv6-host-header

    driverdan committed Mar 29, 2018
    Include brackets for IPv6 host header.
Commits on Mar 21, 2018
Commits on Mar 20, 2018
Commits on Feb 23, 2018
  1. Merge pull request #105 from tomaash/patch-1

    driverdan committed Feb 23, 2018
    Set default host on protocol==null
  2. Merge pull request #137 from GordonSmith/patch-1

    driverdan committed Feb 23, 2018
    "Content-Type" gets overridden
Commits on Feb 18, 2018
  1. Merge pull request #100 from markandrus/master

    driverdan committed Feb 18, 2018
    Add browser support
  2. Merge pull request #160 from nishidayuya/use-console.log

    driverdan committed Feb 18, 2018
    Use console.log() instead of util.puts()
Commits on Feb 14, 2018
  1. Use console.log() instead of util.puts()

    nishidayuya committed Feb 14, 2018
    Since NodeJS v0.11.3, util.puts becomes deprecated API.
Commits on Nov 28, 2017
  1. Merge pull request #153 from Ohar/master

    driverdan committed Nov 28, 2017
    Fix problem with webpack build for browser
Commits on Nov 21, 2017
Commits on Jan 13, 2017
  1. "Content-Type" gets overridden

    GordonSmith committed Jan 13, 2017
    If the user gas set "content-type" (lowercase) then it will get overridden.
Commits on Oct 11, 2015
  1. v1.8.0

    driverdan committed Oct 11, 2015
  2. Merge pull request #82 from jacwright/request-headers

    driverdan committed Oct 11, 2015
    Fixes request headers to conform to spec more closely.
  3. Merge pull request #96 from kumavis/patch-1

    driverdan committed Oct 11, 2015
    Expose xhr.withCredentials with correct default
  4. Merge pull request #101 from pdehaan/patch-1

    driverdan committed Oct 11, 2015
    Update license attribute
  5. Merge pull request #112 from thorn0/master

    driverdan committed Oct 11, 2015
    Add events `error` and `abort`
  6. Merge pull request #115 from carouselapps/null-protocol

    driverdan committed Oct 11, 2015
    Consider null protocol as missing protocol, not an unsupported one.
Commits on Sep 20, 2015
  1. Consider null protocol as missing protocol, not an unsupported one.

    pupeno committed Sep 20, 2015
    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.
Commits on Sep 8, 2015
  1. 1) add events 'error' and 'abort'

    thorn0 committed Sep 8, 2015
    2) the status property must return 0 if the error flag is set
Commits on Jul 13, 2015
  1. Set default host on protocol==null

    tomaash committed Jul 13, 2015
    Some libraries set protocol to null instead of undefined, so we need to check for it here to allow default behaviour. Otherwise, we get the "Protocol not supported." error.
Commits on May 20, 2015
  1. Update license attribute

    pdehaan committed May 20, 2015
    specifying the type and URL is deprecated:
    
    https://docs.npmjs.com/files/package.json#license
    http://npm1k.org/
Commits on May 12, 2015
  1. Add browser support

    markandrus committed May 12, 2015
Commits on Jan 19, 2015
  1. Expose xhr.withCredentials with correct default

    kumavis committed Jan 19, 2015
    Fixes #71
    Replaces #84
Commits on Jan 9, 2015
  1. Version 1.7.0

    driverdan committed Jan 9, 2015
  2. Merge pull request #69 from HaykoKoryun/patch-1

    driverdan committed Jan 9, 2015
    created .npmignore
  3. Merge branch 'pr/79'

    driverdan committed Jan 9, 2015
    Conflicts:
    	lib/XMLHttpRequest.js
  4. Merge branch 'master' of github.com:driverdan/node-XMLHttpRequest

    driverdan committed Jan 9, 2015
    Conflicts:
    	package.json
Commits on Nov 7, 2014
  1. throw errors not strings

    AWinterman committed Nov 7, 2014
Commits on Aug 8, 2014
  1. Fixes request headers to conform to spec more closely.

    jacwright committed Aug 8, 2014
    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).