Skip to content

fs: Use HeaderValue::is_empty to check for empty values - #720

Merged
tottoto merged 1 commit into
tower-rs:mainfrom
tottoto:use-header-value-is-empty
Aug 12, 2026
Merged

fs: Use HeaderValue::is_empty to check for empty values#720
tottoto merged 1 commit into
tower-rs:mainfrom
tottoto:use-header-value-is-empty

Conversation

@tottoto

@tottoto tottoto commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

HeaderValue::is_empty() could be used instead of HeaderValue::as_bytes().is_empty().

@tottoto
tottoto merged commit 5208bd1 into tower-rs:main Aug 12, 2026
16 checks passed
@tottoto
tottoto deleted the use-header-value-is-empty branch August 12, 2026 15:51
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.

2 participants