开发者

Getting Header Data with Sinatra

开发者 https://www.devze.com 2022-12-25 07:11 出处:网络
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:

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']

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号