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
Post a Comment