Add shortcuts for PATCH (again)`
This commit is contained in:
committed by
Martin Algesten
parent
94a8040706
commit
69ad3aabb0
@@ -401,6 +401,11 @@ pub fn head(path: &str) -> Request {
|
||||
request("HEAD", path)
|
||||
}
|
||||
|
||||
/// Make a PATCH request.
|
||||
pub fn patch(path: &str) -> Request {
|
||||
request("PATCH", path)
|
||||
}
|
||||
|
||||
/// Make a POST request.
|
||||
pub fn post(path: &str) -> Request {
|
||||
request("POST", path)
|
||||
|
||||
Reference in New Issue
Block a user