Skip to content

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Feb 18, 2016

This changes the meaning of the proxy(host, ...) param slightly..

  • a protocol is now required (url.parse needs it), thus https detection depends solely on the protocol
    • port 443 no longer implies https
    • an Error is nexted otherwise
  • ipv6 addresses with port are now supported ([::1]:1234 would fail to split before)

Also removed unused type-is, and added lodash.iserror

This changes the meaning of the proxy(`host`, ...) param slightly..

   * a protocol is now required (url.parse needs it), thus https detection depends solely on the protocol
      * port 443 no longer implies https
      * an Error is `next`ed otherwise
   * ipv6 addresses with port are now supported ([::1]:1234 would fail to split before)

Also removed unused `type-is`, and added `lodash.iserror`
@himdel
Copy link
Contributor Author

himdel commented Feb 18, 2016

This may depend on nodejs/node#5308 for actual IPv6 address support.

@villadora villadora merged commit 81a1d35 into villadora:master Jun 2, 2016
@villadora
Copy link
Owner

merged by command line, and add support for simple url like httpbin.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants