views:

86

answers:

1

I'm writing a web app for EVE online in sinatra,and want to retrive header data.

In php I can get data from a header variable with:

$_SERVER['HTTP_EVE_TRUSTED']

how can I do the same in a sinatra page?

+1  A: 

env['HTTP_EVE_TRUSTED']

Brian Deterling