Bug 1322457

Summary: http requests broken without Accept header
Product: OpenShift Container Platform Reporter: Eric Jones <erjones>
Component: DocumentationAssignee: Vikram Goyal <vigoyal>
Status: CLOSED CURRENTRELEASE QA Contact: Vikram Goyal <vigoyal>
Severity: unspecified Docs Contact: Vikram Goyal <vigoyal>
Priority: unspecified    
Version: 2.2.0CC: aos-bugs, jokerman, mmccomas, rthrashe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
OpenShift Online OpenShift Enterprise v2.x
Last Closed: 2016-09-08 18:00:15 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:
Bug Depends On:    
Bug Blocks: 1322467    

Description Eric Jones 2016-03-30 14:17:20 UTC
Document URL: 
https://access.redhat.com/documentation/en-US/OpenShift_Online/2.0/html-single/REST_API_Guide/index.html#chap-General_API_Information

Section Number and Name: 
Chapter 2. General API Information

Describe the issue: 
Due to a security issue with ruby [0], updates were applied that now require an 'Accept' header in the http requests. It also sometimes will require a 'content-type' to be included. Without this, the curl will not return anything.

[0] http://rhn.redhat.com/errata/RHSA-2016-0455.html

Suggestions for improvement: 
Work with Operations/Engineering to determine examples for the documentation.

Comment 2 Rory Thrasher 2016-09-08 18:00:15 UTC
This has been fixed now and will default to json.  Using a curl command without an accept header will work again.