From 91f6784d0ff5b138bd099d308acaf6ab9145225a Mon Sep 17 00:00:00 2001 From: Andrea Ferretti Date: Wed, 21 Sep 2016 17:27:05 +0200 Subject: [PATCH 1/2] 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 ba69c56692..878959ccf4 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].} From 4ee4393556388ee0ecf8ec395eb2d9c4ca097bf4 Mon Sep 17 00:00:00 2001 From: Andrea Ferretti Date: Thu, 22 Sep 2016 11:54:59 +0200 Subject: [PATCH 2/2] Fixed missing comma --- lib/pure/httpcore.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/httpcore.nim b/lib/pure/httpcore.nim index 878959ccf4..0515eeecd3 100644 --- a/lib/pure/httpcore.nim +++ b/lib/pure/httpcore.nim @@ -41,7 +41,7 @@ type ## changing in the request. HttpOptions, ## Returns the HTTP methods that the server supports ## for specified address. - HttpConnect ## Converts the request connection to a transparent + 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