Skip to content

Commit a4640b1

Browse files
committed
review: fixup wording.
Signed-off-by: Piotr Sikora <[email protected]>
1 parent 3913d2b commit a4640b1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
88

99
### Fixed
1010

11-
- When retrieving a value of an empty HTTP header or trailer by name, an empty value
12-
(`Some(String)` or `Some(Vec<u8>)`) is now returned. Previously, no value (`None`)
13-
was returned, which made it indistinguishable from missing HTTP header or trailer.
11+
- An empty value (`Some("")` or `Some([])`) is now returned when retrieving
12+
a value of HTTP header or trailer with an empty value. This is consistent
13+
with the representation when retrieving complete HTTP header or trailer map.
14+
Previously, a missing value (`None`) was being returned, which made an empty
15+
value indistinguishable from a non-existent HTTP header or trailer.
1416
Thanks [@prembhaskal](https://github.com/prembhaskal)!
1517

1618
### Added

0 commit comments

Comments
 (0)