Commit 7711048
authored
Differentiate between missing and empty headers. (#305)
The method get_http_request_headers_bytes returns empty Vec for empty header
value, but get_http_request_header_bytes returns None for empty header value.
This commit intends to fix this inconsistency.
Also added the same fix in get_map_value for get_http_request_header method.
Signed-off-by: prembhaskal <[email protected]>1 parent 8da6c5f commit 7711048
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