Rubyã§ã¯OpenURIã使ãã¨ã¦ã§ããã¼ã¸ãéããã¨ãã§ãããOpenURIã§ã¯å¼æ°ã«ä¸ããURIã®ãããã³ã«ãHTTPãªãã¤ã¬ã¯ãå ãHTTPSã®å ´åãã¨ã©ã¼ãçºçããã¨ããä½ãã«ãªã£ã¦ããã ã¨ããã§ãHTTPããHTTPSã¸ã®ãªãã¤ã¬ã¯ãã¯æå¤ã¨ããããããã ä¾ãã°Googleã§ç縮URLã http://goo.gl/84556T ãªãã¤ã¬ã¯ãå ã¯ããã https://github.com/xoyip/open_uri_allow_redirect % irb irb(main):001:0> require "open-uri" => true irb(main):002:0> open "http://goo.gl/84556T" RuntimeError: redirection forbidden: http://goo.gl/84556T -> https://g
{{#tags}}- {{label}}
{{/tags}}