diff options
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 196c45f16..4ed66243d 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -302,6 +302,7 @@ struct ConnectBits { call */ bool retry; /* this connection is about to get closed and then re-attempted at another connection. */ + bool no_body; /* CURLOPT_NO_BODY (or similar) was set */ }; /* @@ -644,6 +645,7 @@ typedef enum { HTTPREQ_POST, HTTPREQ_POST_FORM, /* we make a difference internally */ HTTPREQ_PUT, + HTTPREQ_HEAD, HTTPREQ_CUSTOM, HTTPREQ_LAST /* last in list */ } Curl_HttpReq; @@ -866,7 +868,7 @@ struct UserDefined { bool http_set_referer; bool http_auto_referer; /* set "correct" referer when following location: */ - bool no_body; + bool opt_no_body; /* as set with CURLOPT_NO_BODY */ bool set_port; bool upload; enum CURL_NETRC_OPTION |