Commit 6061be8
committed
fix to return empty value for empty header
The method get_http_request_headers_bytes return empty vec for empty header value but get_http_request_header_bytes returns None for empty header value.
Also added same fix in get_map_value for get_http_request_header method.
This commit intends to fix this inconsistency.
Signed-off-by: prembhaskal <pbhaskal@gmail.com>1 parent c8b2335 commit 6061be8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
0 commit comments