Skip to content

Commit

Permalink
feat(http): add cookie for client
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarisW committed Oct 31, 2024
1 parent c73efcc commit 9ba3062
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions volo-http/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -964,12 +964,12 @@ mod client_tests {
dns::{parse_target, DnsResolver},
get, Client, DefaultClient, Target,
};
#[cfg(feature = "cookie")]
use crate::client::cookie::CookieLayer;
use crate::{
body::BodyConversion, error::client::status_error, response::ResponseExt,
utils::consts::HTTP_DEFAULT_PORT, ClientBuilder,
body::BodyConversion, error::client::status_error, utils::consts::HTTP_DEFAULT_PORT,
ClientBuilder,
};
#[cfg(feature = "cookie")]
use crate::{client::cookie::CookieLayer, response::ResponseExt};

#[derive(Deserialize)]
struct HttpBinResponse {
Expand Down

0 comments on commit 9ba3062

Please sign in to comment.