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

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -