Bug 1322457 - http requests broken without Accept header
Summary: http requests broken without Accept header
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Vikram Goyal
QA Contact: Vikram Goyal
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks: 1322467
TreeView+ depends on / blocked
 
Reported: 2016-03-30 14:17 UTC by Eric Jones
Modified: 2019-10-10 11:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
OpenShift Online OpenShift Enterprise v2.x
Last Closed: 2016-09-08 18:00:15 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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