Skip to content

Commit 69b9a11

Browse files
committed
feat: re-export http::Method
Technically we would need to re-export way more stuff to allow people to implement `HttpRequestValidator` without extra dependencies, but that seems like a never-ending tail. However `Method` is used by our simple `Matcher`/`AllowCertainHttpRequests` and I feel that at least they should work without fudging with more dependencies.
1 parent 69feeb4 commit 69b9a11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

host/src/http.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
use std::{borrow::Cow, collections::HashSet, fmt};
44

5-
use http::Method;
5+
pub use http::Method;
66
use wasmtime_wasi_http::body::HyperOutgoingBody;
77

88
/// Validates if an outgoing HTTP interaction is allowed.

0 commit comments

Comments
 (0)