-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use hyperium/http instead of http-rs/http-types (#128)
* use http instead of http-types * chore: appease clippy::format_collect * chore: appease some clippy::pedantic rules * chore: remove unused `isahc` * chore: use tokio::time::Sleep instead of futures_timer::Delay * fix: HeaderExactMatcher is order sensitive * chore(style): use `.len()` directly on the header value * chore: appease clippy::write_with_newline * chore: use Response::builder api * chore: import header structs from http instead of hyper * feat: update hyper v1.0 * chore: reqwest v0.11 still use old version `http` * fix: use multi-threaded runtime to avoid blocking * chore: switch back to single-thread runtime * chore(docs): redundant explicit link target * fixup! chore: import header structs from http instead of hyper --------- Co-authored-by: Luca Palmieri <[email protected]>
- Loading branch information
1 parent
d61239e
commit 8047af3
Showing
13 changed files
with
205 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
//! Convenient re-exports of `http-types`' types that are part of `wiremock`'s public API. | ||
pub use http_types::headers::{HeaderName, HeaderValue, HeaderValues}; | ||
pub use http_types::{Method, Url}; | ||
//! Convenient re-exports of http types that are part of `wiremock`'s public API. | ||
pub use http::{HeaderMap, HeaderName, HeaderValue, Method}; | ||
pub use url::Url; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.