Bug 1471636 - [RFE] Availability to configure the router response codes
[RFE] Availability to configure the router response codes
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: Routing (Show other bugs)
3.5.0
Unspecified Unspecified
unspecified Severity low
: ---
: ---
Assigned To: Ben Bennett
zhaozhanqi
: NeedsTestCase
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-17 03:03 EDT by Vladislav Walek
Modified: 2017-09-19 22:19 EDT (History)
2 users (show)

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


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. 
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)

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