summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2016-09-22 12:30:23 +0200
committerGitHub <noreply@github.com>2016-09-22 12:30:23 +0200
commit2e754f7342dedaa84f03bb099dc9994c404aa4c4 (patch)
treec4d3187ef8a94f4c8e693457c170e16261ba7d24
parent723bc158cea494d3479573819f3e86ce0667409e (diff)
parent4ee4393556388ee0ecf8ec395eb2d9c4ca097bf4 (diff)
downloadNim-2e754f7342dedaa84f03bb099dc9994c404aa4c4.tar.gz
Merge pull request #4811 from andreaferretti/httpmethods
Added PATCH HTTP method
-rw-r--r--lib/pure/httpcore.nim6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/pure/httpcore.nim b/lib/pure/httpcore.nim
index ba69c5669..0515eeecd 100644
--- a/lib/pure/httpcore.nim
+++ b/lib/pure/httpcore.nim
@@ -41,9 +41,11 @@ 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
+                      ## format called a "patch document".
 {.deprecated: [httpGet: HttpGet, httpHead: HttpHead, httpPost: HttpPost,
                httpPut: HttpPut, httpDelete: HttpDelete, httpTrace: HttpTrace,
                httpOptions: HttpOptions, httpConnect: HttpConnect].}