summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndrea Ferretti <ferrettiandrea@gmail.com>2016-09-21 17:27:05 +0200
committerAndrea Ferretti <ferrettiandrea@gmail.com>2016-09-21 17:27:05 +0200
commit91f6784d0ff5b138bd099d308acaf6ab9145225a (patch)
treef3fe5a9e67ae3be6cc9914f31ea7677015f5af0c
parent723bc158cea494d3479573819f3e86ce0667409e (diff)
downloadNim-91f6784d0ff5b138bd099d308acaf6ab9145225a.tar.gz
Added PATCH HTTP method
-rw-r--r--lib/pure/httpcore.nim4
1 files changed, 3 insertions, 1 deletions
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].}