Red Hat Bugzilla – Bug 1471636
[RFE] Availability to configure the router response codes
Last modified: 2017-09-19 22:19:02 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
the response code is 302
to be able to change the code e.g. 301 (browser caching)