Bug 1471636 - [RFE] Availability to configure the router response codes [NEEDINFO]
[RFE] Availability to configure the router response codes
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE (Show other bugs)
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Marc Curry
Xiaoli Tian
: NeedsTestCase
Depends On:
  Show dependency treegraph
Reported: 2017-07-17 03:03 EDT by Vladislav Walek
Modified: 2018-04-16 07:31 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
vwalek: needinfo? (mcurry)

Attachments (Terms of Use)

  None (edit)
Description Vladislav Walek 2017-07-17 03:03:40 EDT
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. 

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)

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