http-browserify icon indicating copy to clipboard operation
http-browserify copied to clipboard

Check for undefined port when assigning default

Open derekr opened this issue 12 years ago • 0 comments

lib/request builds the uri based on a falsey port (it won't append a port number if there isn't one), but this case makes it difficult to test cross domain requests when running on a non standard port number since it's always defaulting to window.location.port.

derekr avatar Sep 25 '13 05:09 derekr