search for: odani

Displaying 1 result from an estimated 1 matches for "odani".

Did you mean: dani
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,