diff --git a/src/client/mod.rs b/src/client/mod.rs index ad9bb8596f..ea84664fb4 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -160,6 +160,11 @@ impl Client { self.request(Method::Head, url) } + /// Build a Patch request. + pub fn patch(&self, url: U) -> RequestBuilder { + self.request(Method::Patch, url) + } + /// Build a Post request. pub fn post(&self, url: U) -> RequestBuilder { self.request(Method::Post, url)