diff options
author | Ferris Tseng <ferristseng@fastmail.fm> | 2020-05-16 12:25:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 12:25:05 -0400 |
commit | b263290045ed63830d839393f2d148edf331fa42 (patch) | |
tree | d667c3e017b97752c706bc10178b306e2ee354d4 /ipfs-api/src/request/dag.rs | |
parent | 395cefb4cad7b2c4f59a7611907630c3a922666d (diff) | |
parent | d617bb5480830e5e4d67292aa9d77008f8dc7279 (diff) |
Merge pull request #50 from cag/use-post-only
Only use POST for IPFS v0.5 compat
Diffstat (limited to 'ipfs-api/src/request/dag.rs')
-rw-r--r-- | ipfs-api/src/request/dag.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ipfs-api/src/request/dag.rs b/ipfs-api/src/request/dag.rs index 630a93a..4e2bde3 100644 --- a/ipfs-api/src/request/dag.rs +++ b/ipfs-api/src/request/dag.rs @@ -8,7 +8,6 @@ use crate::request::ApiRequest; use crate::serde::Serialize; -use http::Method; #[derive(Serialize)] pub struct DagGet<'a> { @@ -27,6 +26,4 @@ impl_skip_serialize!(DagPut); impl ApiRequest for DagPut { const PATH: &'static str = "/dag/put"; - - const METHOD: &'static Method = &Method::POST; } |