Follow_location

28 views
Skip to first unread message

Peck

unread,
Oct 10, 2012, 1:23:42 AM10/10/12
to Typhoeus
Hi group,

Upgraded to Typhoeus v0.5.0.rc and I'm seeing error:

Ethon::Errors::InvalidOption: The option: follow_location is invalid.

And I get the same error when using the Ethon readme. Is this a known
issue and is there a workaround for following redirects?

Thanks,

Hans Hasselberg

unread,
Oct 10, 2012, 3:29:54 AM10/10/12
to typh...@googlegroups.com
Hey,
thanks for pointing that out! Actually the correct option is followlocation instead follow_location.
I fixed the readme: https://github.com/typhoeus/ethon/commit/06e03ad722e05ecf0beedf4a4f57d72cb8c25662.
--
Hans
> --
> You received this message because you are subscribed to the Google Groups "Typhoeus" group.
> To post to this group, send email to typh...@googlegroups.com (mailto:typh...@googlegroups.com).
> To unsubscribe from this group, send email to typhoeus+u...@googlegroups.com (mailto:typhoeus+u...@googlegroups.com).
> For more options, visit this group at http://groups.google.com/group/typhoeus?hl=en.



Daniel Peck

unread,
Oct 10, 2012, 3:32:12 AM10/10/12
to typh...@googlegroups.com
Thanks Hans, figured it out about 20 minutes after sending the message
when I started looking through the ethon lib code. Was just waiting
for me message to be approved to reply to it with the fix :)

May want to make a note of it somewhere in typhoeus readme, lots of
references to :follow_location when searching for info on redirects.

Thanks for the quick response and for typhoeus.
> To post to this group, send email to typh...@googlegroups.com.
> To unsubscribe from this group, send email to typhoeus+u...@googlegroups.com.

Hans Hasselberg

unread,
Oct 10, 2012, 3:38:42 AM10/10/12
to typh...@googlegroups.com
Hi Daniel,

thanks for the suggestion, done: https://github.com/typhoeus/typhoeus/commit/276ac41c580095e7bb7ee0893da21e2e5e88b3f8!

--
Hans


On Wednesday, October 10, 2012 at 9:32 AM, Daniel Peck wrote:

> Thanks Hans, figured it out about 20 minutes after sending the message
> when I started looking through the ethon lib code. Was just waiting
> for me message to be approved to reply to it with the fix :)
>
> May want to make a note of it somewhere in typhoeus readme, lots of
> references to :follow_location when searching for info on redirects.
>
> Thanks for the quick response and for typhoeus.
>
Reply all
Reply to author
Forward
0 new messages