Bug 1471636

Summary: [RFE] Availability to configure the router response codes
Product: OpenShift Container Platform Reporter: Vladislav Walek <vwalek>
Component: RFEAssignee: Marc Curry <mcurry>
Status: CLOSED WONTFIX QA Contact: Xiaoli Tian <xtian>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: aos-bugs, bmeng, iwhite, jokerman, mcurry, mmccomas
Target Milestone: ---Keywords: NeedsTestCase
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-12 11:56:17 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 Vladislav Walek 2017-07-17 07:03:40 UTC
Description of problem:

When using 'insecureEdgeTerminationPolicy' with the 'Redirect' value on a route, there will be always a 302 HTTP redirect and not a 301 (which would be cached by browsers). Is there any possibility to define the HTTP return code for such a route?

The response code could be configurable as HAproxy has this option. 
http://cbonte.github.io/haproxy-dconv/1.5/configuration.html#4-redirect

Version-Release number of selected component (if applicable):
OpenShift Container Platform 3.5


Actual results:
the response code is 302

Expected results:
to be able to change the code e.g. 301 (browser caching)

Comment 3 Kirsten Newcomer 2019-06-12 11:56:17 UTC
With the introduction of OpenShift 4, Red Hat has delivered or roadmapped a substantial number of features based on feedback by our customers.  Many of the enhancements encompass specific RFEs which have been requested, or deliver a comparable solution to a customer problem, rendering an RFE redundant.

This bz (RFE) has been identified as a feature request not yet planned or scheduled for an OpenShift release and is being closed. 

If this feature is still an active request that needs to be tracked, Red Hat Support can assist in filing a request in the new JIRA RFE system, as well as provide you with updates as the RFE progress within our planning processes. Please open a new support case: https://access.redhat.com/support/cases/#/case/new 

Opening a New Support Case: https://access.redhat.com/support/cases/#/case/new 

As the new Jira RFE system is not yet public, Red Hat Support can help answer your questions about your RFEs via the same support case system.