Nobu
Jul 04, 2018Nimbostratus
Added HTTP header information at redirect
I want to add HTTP header information when redirecting.
When adding HTTP header information (cipher version), there was no problem below.
when HTTP_REQUEST {
HTTP::header insert header_ssl [SSL::cipher version]
}
Even if you describe the redirect after this, header information was not added to the redirect request.
when HTTP_REQUEST {
HTTP::header insert header_ssl [SSL::cipher version]
HTTP::respond 302 Location ";
}
In order to add HTTP header information using [HTTP::respond], I thought of the following iRule. when HTTP_REQUEST {
HTTP::respond 302 Location "; header_ssl [SSL::cipher version]
}
The result was that HTTP header information was not added.
Please give me a solution.