Skip to content

Commit

Permalink
cookie store
Browse files Browse the repository at this point in the history
  • Loading branch information
m00nwtchr committed Feb 29, 2024
1 parent aa25c91 commit 92f1abc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions plugins/http/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ pub async fn fetch<R: Runtime>(
builder = attach_proxy(proxy_config, builder)?;
}

#[cfg(feature = "cookies")]
builder = builder.cookie_store(true);

let mut request = builder.build()?.request(method.clone(), url);

for (name, value) in &headers {
Expand Down

0 comments on commit 92f1abc

Please sign in to comment.