edgurgel / httpoison

Yet Another HTTP client for Elixir powered by hackney
https://hex.pm/packages/httpoison
MIT License
2.22k stars 339 forks source link

why no_proxy doesn't support CIDR range format? #450

Open mjaow opened 2 years ago

mjaow commented 2 years ago

I saw the source code https://github.com/edgurgel/httpoison/blob/65e94a9ed8e1443e99cd715c2068871feba1f50a/lib/httpoison/base.ex#L816, no_proxy only support for wildcard format (10.0.. or 10.0. ) but doesn't support cidr range format like 10.0.0.0/16. Is there any concern about implementing it like Golang?