We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c37177a commit 03bfa05Copy full SHA for 03bfa05
lambdas/mesh_processor/src/converter.py
@@ -17,8 +17,7 @@
17
18
def parse_headers(headers_str: str) -> dict[str, str]:
19
headers = dict(
20
- header_str.split(":", 1) for header_str in headers_str.split("\r\n")
21
- if ":" in header_str
+ header_str.split(":", 1) for header_str in headers_str.split("\r\n") if ":" in header_str
22
) # NOSONAR(S7494) force this to dict
23
return {k.strip(): v.strip() for k, v in headers.items()}
24
0 commit comments