Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/67.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 我们可以用Typheous Ruby跟踪重定向吗?_Ruby On Rails_Ruby_Redirect - Fatal编程技术网

Ruby on rails 我们可以用Typheous Ruby跟踪重定向吗?

Ruby on rails 我们可以用Typheous Ruby跟踪重定向吗?,ruby-on-rails,ruby,redirect,Ruby On Rails,Ruby,Redirect,Typhous是否可以执行重定向?如何执行? 然后写下这样的话: res = Typhoeus::Request.get(url, {:follow_location => true}) 在最新版本的Typhous(0.5.0)中,这已更改为“followlocation:true”。- 好的,但是当我们尝试异步获取页面时,这适用吗?现在是:followlocation=>true。感谢您的修复。甚至可能是followlocation:true,使用新语法。

Typhous是否可以执行重定向?如何执行?


然后写下这样的话:

res = Typhoeus::Request.get(url, {:follow_location => true})

在最新版本的Typhous(0.5.0)中,这已更改为“followlocation:true”。-

好的,但是当我们尝试异步获取页面时,这适用吗?现在是
:followlocation=>true
。感谢您的修复。甚至可能是
followlocation:true
,使用新语法。