Skip to content

Conversation

@bagder
Copy link
Member

@bagder bagder commented Jul 27, 2020

... and mention that HTTP with other methods than HEAD might get a body and
there's no option available to stop that.

... and mention that HTTP with other methods than HEAD might get a body and
there's no option available to stop that.
For HTTP operations when \fBCURLOPT_NOBODY(3)\fP has been set, unsetting the
option (with 0) will make it a GET again - only if the method is still set to
be HEAD. The proper way to get back to a GET request is to set
\fBCURLOPT_HTTPGET(3)\fP and for nother methods, use the POST ur UPLOAD

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
\fBCURLOPT_HTTPGET(3)\fP and for nother methods, use the POST ur UPLOAD
\fBCURLOPT_HTTPGET(3)\fP and for other methods, use the POST or UPLOAD

@bagder bagder closed this in e1bac81 Jul 27, 2020
@bagder bagder deleted the bagder/nobody-clarify branch July 27, 2020 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants