ruby on rails - How I can get a location of response headers for this? -


could please tell me, how can location of response headers following respones?

http = net::http.new "s3.amazonaws.com" response = http.request_head(url) 

net::http response headers accessible using element selection operator ([]) on response object itself:

response['authorization'] 

Comments

Popular posts from this blog

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -