Commit 86fc907
committed
fix(mjpegclient): strip leading space from digest parameter keys
After splitting parameters key-value pairs by comma, they have a leading space. It remains as part of the key in the resulting dictionary, breaking `utils.build_digest_header()`.
This change strips spaces from each key-value pair before creating the dictionary.
Signed-off-by: MichaIng <micha@dietpi.com>1 parent 3f90aee commit 86fc907
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
0 commit comments