1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// SPDX-FileCopyrightText: d-k-bo <d-k-bo@mailbox.org>
//
// SPDX-License-Identifier: MIT OR Apache-2.0
//! HTTP methods for WebDAV as defined in
//! [RFC 4918][rfc].
//!
//! Unfortunately, the [`http`][http] crate
//! [doesn't support creating custom `Method`s constants yet][http-pr],
//! so they are currently defined as static variables using
//! [`once_cell::sync::Lazy`][lazy].
//!
//! [rfc]: http://webdav.org/specs/rfc4918.html#http.methods.for.distributed.authoring
//! [http]: https://docs.rs/http/latest/http/
//! [http-pr]: https://github.com/hyperium/http/pull/595
//! [lazy]: https://docs.rs/once_cell/latest/once_cell/sync/struct.Lazy.html
use Method;
use Lazy;
method!;
method!;
method!;
method!;
method!;
method!;
method!;