Typhoeus로 리디렉션을 수행 할 수 있습니까? 이 변경되었습니다에 "followlocation를 : true"로Typheous Ruby에서 리디렉션을 따를 수 있습니까?
res = Typhoeus::Request.get(url, {:follow_location => true})
Typhoeus로 리디렉션을 수행 할 수 있습니까? 이 변경되었습니다에 "followlocation를 : true"로Typheous Ruby에서 리디렉션을 따를 수 있습니까?
res = Typhoeus::Request.get(url, {:follow_location => true})
http://rdoc.info/github/dbalatero/typhoeus/master/Typhoeus/Request:initialize 그냥이 같은 물품. - https://github.com/typhoeus/typhoeus
의 초기화 메소드를 참조하십시오. 이제': followlocation => true'입니다. –
Typhoeus의 최신 버전 (0.5.0)에서 :
괜찮지 만 페이지를 비동기 적으로 가져 오려고 할 때 적용됩니까? – zlatan
예, 요청 – Roman