diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-28 22:46:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-28 22:46:06 +0300 |
commit | cc050575f27ecc736364749d1c5f47a7e3cdc991 (patch) | |
tree | 0fc43d34d6094dc9fae21b2d8790d3ee15a7db52 /include | |
parent | 3e34adae711d9ddf79b4959143a696b6a403a522 (diff) |
new http request type: PATCH
Diffstat (limited to 'include')
-rw-r--r-- | include/m_netlib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h index 36d9d9aea5..9dd0a4aaaf 100644 --- a/include/m_netlib.h +++ b/include/m_netlib.h @@ -452,9 +452,10 @@ typedef struct { #define REQUEST_GET 1
#define REQUEST_POST 2
#define REQUEST_CONNECT 3
-#define REQUEST_HEAD 4 // new in 0.5.1
+#define REQUEST_HEAD 4
#define REQUEST_PUT 5
#define REQUEST_DELETE 6
+#define REQUEST_PATCH 7
#define NLHRF_MANUALHOST 0x00000001 // do not remove any host and/or protocol portion of szUrl before sending it
#define NLHRF_HTTP11 0x00000010 // use HTTP 1.1
|