Bug 1471636 - [RFE] Availability to configure the router response codes
Summary: [RFE] Availability to configure the router response codes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Marc Curry
QA Contact: Xiaoli Tian
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-17 07:03 UTC by Vladislav Walek
Modified: 2019-06-12 11:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-12 11:56:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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