-
Notifications
You must be signed in to change notification settings - Fork 87
HTTPS support #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
HTTPS support #163
Conversation
f7bbbb7 to
37d2455
Compare
|
@LukeMathWalker should I fix the clippy warnings in the old code in a separate PR? |
|
It would be nice to merge that |
It seems https://crates.io/crates/httpmock does support HTTPS. |
It gets an additional argument `acceptor` that can represent either ordinary TCP or TLS connection.
An HTTPS server's uri start with https protocol.
Use it instead of `RustlsConfig` in the public API.
Extend its docstring and make `.expect` message clearer.
hyper-server is not updated and uses old deps.
|
Thanks for the PR—unfortunately, it'll take me a while to get to review it. |
|
One thing is that we dont need axum-server for sure, tokio_rustls is enough for wiremock |
|
|
I dont see that as a dep here: https://github.com/LukeMathWalker/wiremock-rs/blob/main/Cargo.toml |
You are right. |
Closes #58.