[OpenWrt-Devel] [PATCH uclient] allow sending requests with DELETE method
Rafał Miłecki
zajec5 at gmail.com
Thu Jan 22 05:45:13 EST 2015
Signed-off-by: Rafał Miłecki <zajec5 at gmail.com>
---
uclient-http.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/uclient-http.c b/uclient-http.c
index 9f9fac9..eb69702 100644
--- a/uclient-http.c
+++ b/uclient-http.c
@@ -41,6 +41,7 @@ enum request_type {
REQ_HEAD,
REQ_POST,
REQ_PUT,
+ REQ_DELETE,
__REQ_MAX
};
@@ -58,6 +59,7 @@ static const char * const request_types[__REQ_MAX] = {
[REQ_HEAD] = "HEAD",
[REQ_POST] = "POST",
[REQ_PUT] = "PUT",
+ [REQ_DELETE] = "DELETE",
};
struct uclient_http {
--
1.8.4.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list