Skip to content

Commit

Permalink
Merge pull request #33680 from rallytime/bp-32942
Browse files Browse the repository at this point in the history
Back-port #32942 to 2016.3
  • Loading branch information
Mike Place committed Jun 1, 2016
2 parents 9571dad + 09751ec commit c725854
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions salt/utils/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def query(url,
handle=False,
agent=USERAGENT,
hide_fields=None,
raise_error=True,
**kwargs):
'''
Query a resource, and decode the return data
Expand Down Expand Up @@ -479,6 +480,7 @@ def query(url,
proxy_port=proxy_port,
proxy_username=proxy_username,
proxy_password=proxy_password,
raise_error=raise_error,
**req_kwargs
)
else:
Expand All @@ -498,6 +500,7 @@ def query(url,
proxy_port=proxy_port,
proxy_username=proxy_username,
proxy_password=proxy_password,
raise_error=raise_error,
**req_kwargs
)
except tornado.httpclient.HTTPError as exc:
Expand Down

0 comments on commit c725854

Please sign in to comment.