From 91f6784d0ff5b138bd099d308acaf6ab9145225a Mon Sep 17 00:00:00 2001 From: Andrea Ferretti Date: Wed, 21 Sep 2016 17:27:05 +0200 Subject: [PATCH] Added PATCH HTTP method --- lib/pure/httpcore.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pure/httpcore.nim b/lib/pure/httpcore.nim index ba69c5669..878959ccf 100644 --- a/lib/pure/httpcore.nim +++ b/lib/pure/httpcore.nim @@ -43,7 +43,9 @@ type ## for specified address. HttpConnect ## Converts the request connection to a transparent ## TCP/IP tunnel, usually used for proxies. - + HttpPatch ## Added in RFC 5789. Can be used to update partial + ## resources. The set of changes is represented in a + ## format called a "patch document". {.deprecated: [httpGet: HttpGet, httpHead: HttpHead, httpPost: HttpPost, httpPut: HttpPut, httpDelete: HttpDelete, httpTrace: HttpTrace, httpOptions: HttpOptions, httpConnect: HttpConnect].}