Bug 1409676 - product-update script should send Accept header in HTTP requests
Summary: product-update script should send Accept header in HTTP requests
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: develop
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 26.5
Assignee: Tomas Klohna 🔧
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-03 00:19 UTC by Dan Callaghan
Modified: 2019-04-29 13:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-29 13:53:03 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Beaker Project Gerrit 6497 0 None None None 2019-04-18 10:00:23 UTC

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).


Note You need to log in before you can comment on or make changes to this bug.