summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-03 11:53:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-03 11:53:16 +0000
commite791f6ec589681b60c097686777d0b038587e0f7 (patch)
tree42b4b14d269bbb1bcaf8e643c8bf8ee5a33f81ac
parent89872447585d6d279bb9cb23fda30855932143a2 (diff)
downloadgnurl-e791f6ec589681b60c097686777d0b038587e0f7.tar.gz
gnurl-e791f6ec589681b60c097686777d0b038587e0f7.tar.bz2
gnurl-e791f6ec589681b60c097686777d0b038587e0f7.zip
added CURLOPT_HTTPGET
-rw-r--r--include/curl/curl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index e50c73e8c..8fcf65edf 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -443,6 +443,11 @@ typedef enum {
* parameters will use fwrite() syntax, make sure to follow them. */
CINIT(HEADERFUNCTION, FUNCTIONPOINT, 79),
+ /* Set this to force the HTTP request to get back to GET. Only really usable
+ if POST, PUT or a custom request have been used first.
+ */
+ CINIT(HTTPGET, LONG, 80),
+
CURLOPT_LASTENTRY /* the last unusued */
} CURLoption;
@@ -504,8 +509,8 @@ void curl_global_cleanup(void);
/* This is the version number */
-#define LIBCURL_VERSION "7.8"
-#define LIBCURL_VERSION_NUM 0x070800
+#define LIBCURL_VERSION "7.8.1-pre2"
+#define LIBCURL_VERSION_NUM 0x070801
/* linked-list structure for the CURLOPT_QUOTE option (and other) */
struct curl_slist {