Hi,
On my current project, custom http header variable need to be set while redirecting for http basic auth. Can I instruct redirect_to for custom headers ?
Thanks.
Hi,
On my current project, custom http header variable need to be set while redirecting for http basic auth. Can I instruct redirect_to for custom headers ?
Thanks.
The request
object's headers
method can be used to set custom HTTP headers within a controller:
request.headers['foo'] = 'bar'