-
Notifications
You must be signed in to change notification settings - Fork 229
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
Setting post_body to nil does not reset data posted in http(:GET) #133
Comments
Hello, any update on this one? |
Nice bug, fix would be useful! |
try:
? |
Correct me if I am wrong, but would it not reset settings (i.e. timeout) and cookies as well? That is not what I want. |
geronime
added a commit
to geronime/curb
that referenced
this issue
Feb 6, 2013
Merged
Fix done - it is necessary to set CURLOPT_HTTPGET to 1: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
after resetting
post_body
tonil
the nexthttp(:GET)
request still sends the old POST data:Netcat output:
OK. Set
post_body
and repeat:nc output:
OK. Reset
post_body
tonil
and perform again:nc output:
Not OK, post data sent even after the
post_body
was reset tonil
. Reset to empty data and retry:nc output:
Correct, can be used as workaround.
Could you please fix that setting
post_body=nil
clears the data posted?Thanks,
geronime
The text was updated successfully, but these errors were encountered: