Including RequestFollow by default into EntryPoint
Reported by Fabio Akita | May 31st, 2010 @ 04:57 PM | in 0.8.1
The EntryPoint module does not support redirection following by default, so I included the RequestFollow module into it.
The following is turned off. So if you do:
Restfulie.at("http://localhost:3000/some_redirection").get!
You will get Error::Redirection raised. But if you do:
Restfulie.at("http://localhost:3000/some_redirection").follow.get!
Then it will follow the Location uri. I am not sure if this can or should be turned on by default.
Here is the patch:
http://github.com/akitaonrails/restfulie/commit/46522d5ea381b2254d0...
Comments and changes to this ticket
-
Guilherme Silveira May 31st, 2010 @ 05:16 PM
- Tag set to client, entrypoint, follow
pulled to master
-
Guilherme Silveira May 31st, 2010 @ 05:17 PM
- no changes were found...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »