Re: [OpenWrt-Devel] [PATCH uclient] allow sending requests with DELETE method

2015-01-22 Thread Felix Fietkau
On 2015-01-22 11:45, Rafał Miłecki wrote:
 Signed-off-by: Rafał Miłecki zaj...@gmail.com
Applied, thanks.

- Felix
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH uclient] allow sending requests with DELETE method

2015-01-22 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@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@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel