use super::utils; use rama::{http::BodyExtractExt, service::Context}; #[tokio::test] #[ignore] async fn test_tls_termination() { utils::init_tracing(); let runner = utils::ExampleRunner::interactive("tls_termination"); let reply = runner .get("http://127.0.0.1:62800") .send(Context::default()) .await .unwrap() .try_into_string() .await .unwrap(); assert_eq!("Hello world!", reply); let reply = runner .get("https://127.0.0.1:63800") .send(Context::default()) .await .unwrap() .try_into_string() .await .unwrap(); assert_eq!("Hello world!", reply); }