python-consul
python-consul copied to clipboard
handle CONSUL_HTTP_ADDR including a http:// or https:// scheme
An environment variable of CONSUL_HTTP_ADDR=https://localhost:8501/ is valid for the Consul CLI. This PR allows the scheme/protocol to be pulled out of this environment variable.
https://github.com/poppyred/python-consul2/blob/master/consul/base.py#L335-L353 @lukebigum Interested in coming here ?