Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get response returning an String #29

Closed
rafavalerio opened this issue Aug 9, 2013 · 4 comments
Closed

Get response returning an String #29

rafavalerio opened this issue Aug 9, 2013 · 4 comments

Comments

@rafavalerio
Copy link

The calling of a GET, with a chained response, gives the no 'response' method for String. Something like that:

get = Http.get("http://www.google.com").response

Any ideas on this? I've checked the unit tests and this should work normally.

@tarcieri
Copy link
Member

tarcieri commented Aug 9, 2013

I plan on changing this API in the next release, so Http.get returns a response object, and calling body will get the actual body

@rafavalerio
Copy link
Author

Hmm That's cool!

Any thoughts on the actual version?

On Friday, August 9, 2013, Tony Arcieri wrote:

I plan on changing this API in the next release, so Http.get returns a
response object, and calling body will get the actual body


Reply to this email directly or view it on GitHubhttps://github.com//issues/29#issuecomment-22410103
.

Rafael Valério
http://www.rafaelvalerio.com

@tarcieri
Copy link
Member

tarcieri commented Aug 9, 2013

That feature may not be available in the released version. Try master

@sferik
Copy link
Contributor

sferik commented Sep 10, 2013

Closing. Fixed in master.

@sferik sferik closed this as completed Sep 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants