Skip to content

Duplicate HTTP headers on reqwest#157

Merged
06chaynes merged 2 commits into06chaynes:mainfrom
kennethjor:duplicate-http-headers
Apr 4, 2026
Merged

Duplicate HTTP headers on reqwest#157
06chaynes merged 2 commits into06chaynes:mainfrom
kennethjor:duplicate-http-headers

Conversation

@kennethjor
Copy link
Copy Markdown
Contributor

@kennethjor kennethjor commented Mar 8, 2026

Closes #156

Comment on lines +737 to +740
let wait_until = expires + Duration::from_secs(2);
while SystemTime::now() < wait_until {
sleep(Duration::from_millis(100)).await;
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@06chaynes There's probably a better way of simulating an expired cache object

@06chaynes 06chaynes merged commit b937736 into 06chaynes:main Apr 4, 2026
40 of 42 checks passed
@06chaynes
Copy link
Copy Markdown
Owner

Thanks! I will complete the remaining updates and modify those tests.

@kennethjor kennethjor deleted the duplicate-http-headers branch April 4, 2026 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Headers duplicated on expired requests when using custom headers

2 participants