- Setting CURLOPT_NOBODY to FALSE will now switch the HTTP request method to

GET simply because previously when you set CURLOPT_NOBODY to TRUE first and
  then FALSE you'd end up in a broken state where a HTTP request would do a
  HEAD by still act a lot like for a GET and hang waiting for the content etc.
This commit is contained in:
Daniel Stenberg
2008-04-03 21:44:49 +00:00
parent d051dd8087
commit a9c1ca9fc5
4 changed files with 14 additions and 7 deletions

View File

@@ -7,6 +7,11 @@
Changelog
Daniel Stenberg (3 Apr 2008)
- Setting CURLOPT_NOBODY to FALSE will now switch the HTTP request method to
GET simply because previously when you set CURLOPT_NOBODY to TRUE first and
then FALSE you'd end up in a broken state where a HTTP request would do a
HEAD by still act a lot like for a GET and hang waiting for the content etc.
- Scott Barrett added support for CURLOPT_NOBODY over SFTP
Daniel Fandrich (3 Apr 2008)