File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
8
8
9
9
### Fixed
10
10
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.
14
16
Thanks [ @prembhaskal ] ( https://github.com/prembhaskal ) !
15
17
16
18
### Added
You can’t perform that action at this time.
0 commit comments