-
Notifications
You must be signed in to change notification settings - Fork 5.6k
salt.utils.http.query results not consistent across backends. #47962
Copy link
Copy link
Open
Labels
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVESalt engineer has confirmed bug/feature - often including a MCVEbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorhelp-wantedCommunity help is needed to resolve thisCommunity help is needed to resolve thispending-community-assignmentPending community contributor assignmentPending community contributor assignmentseverity-low4th level, cosemtic problems, work around exists4th level, cosemtic problems, work around exists
Milestone
Metadata
Metadata
Assignees
Labels
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVESalt engineer has confirmed bug/feature - often including a MCVEbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorhelp-wantedCommunity help is needed to resolve thisCommunity help is needed to resolve thispending-community-assignmentPending community contributor assignmentPending community contributor assignmentseverity-low4th level, cosemtic problems, work around exists4th level, cosemtic problems, work around exists
Description of Issue/Question
salt.utils.http.query result ouput not consistent across backends.
The following is inside salt.utils.http.query
salt.utils.http.query returns a dict. This dict always contains handle. However handle can be:
It appears backend set to urllib2 may not work.
salt.utils.http.query should return a consistent result. e.g.
Setup
Steps to Reproduce Issue
Change backend and run the test suite. Or use fileclient.get_url()
Versions Report
Development, 2018.X 2017.X