ruby on rails - redirect_to custom http header -
On my current project, http need to set the custom header header while redirecting to the default auth. Can I direct redirect_to for custom headers?
Thank you.
request to set custom HTTP headers within a controller
of the object Header
method can be used:
request.headers ['foo'] = 'bar'
Comments
Post a Comment