Skip to content

Commit

Permalink
misc: small fix or general refactoring i did not bother commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Jul 6, 2024
1 parent ac849da commit 220162a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/agent/namespaces/http/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ impl Action for Request {
let parsed = Self::create_url_from(&state, payload.clone()).await?;
let query_str = parsed.query().unwrap_or("").to_string();

// TODO: handle cookie/session persistency

let mut client = reqwest::Client::new().request(method.clone(), parsed.clone());
let lock = state.lock().await;
let headers = lock.get_storage("http-headers")?;
Expand Down

0 comments on commit 220162a

Please sign in to comment.