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

fix README to use response_code instead of code in examples #443

Closed
wants to merge 2 commits into from

Conversation

eegrok
Copy link

@eegrok eegrok commented Jun 22, 2023

the example as given gets an error when run:

NoMethodError: undefined method `code' for #<Curl::Easy https://www.google.com/>

response_code makes the most sense here I think.

@taf2
Copy link
Owner

taf2 commented Sep 9, 2024

The lastest version now supports http.code see: 8d0903c.

@taf2 taf2 closed this Oct 11, 2024
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

Successfully merging this pull request may close these issues.

2 participants