Topic: HTTP Headers

Hi!

I'm having problems with the case when creating a software under system which uses ubilogin for onetime-password to access several services/sites. Ubilogin passes the useraccount-name in http-server-headers (HTTP_X_UBILOGIN_USERNAME). I know how to use this for example in php:

$username = $_SERVER['HTTP_X_UBILOGIN_USERNAME'];

But my question is, how to do this in RoR?!

Re: HTTP Headers

should be

request.env['HTTP_X_UBILOGIN_USERNAME']