Getting Header Data with Sinatra
I'm writing a web app for EVE online in sinatra,and want to retrive header data.
In php I can 开发者_如何学Cget data from a header variable with:
$_SERVER['HTTP_EVE_TRUSTED']
how can I do the same in a sinatra page?
env['HTTP_EVE_TRUSTED']
精彩评论