Bug 1409676

Summary: product-update script should send Accept header in HTTP requests
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: Tomas Klohna 🔧 <tklohna>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: developCC: mjia, tklohna
Target Milestone: 26.5Keywords: EasyFix, FutureFeature, Patch, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-29 13:53:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Callaghan 2017-01-03 00:19:33 UTC
As noted by Pavel Slama in https://bugzilla.redhat.com/show_bug.cgi?id=1403084#c2 the product-update script should send an Accept header in its HTTP request to indicate that it wants JSON (preferably) or XML, in case the end point it is pointed out does content negotiation and could return other formats by default (like HTML).