Displaying 1 result from an estimated 1 matches for "uri3".
Did you mean:
uri
2012 Apr 30
3
way to get response headers only?
Hello, I''m interested in grabbing the final uri of a given uri after any
redirects without retrieving the response body of this final uri. For
example, if uri1 redirects to uri2, which in turn redirects to uri3, I''d
like to just grab the response header of uri3.
I know that I can get the full response (header and body) by doing
Mechanize.new.get(uri1).uri, but again, I''m looking to make just a header
request.
Thanks.
-------------- next part --------------
An HTML attachment was scrubb...