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

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

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