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 05f5737 commit bfbfd7bCopy full SHA for bfbfd7b
lambdas/mesh_processor/src/converter.py
@@ -16,9 +16,9 @@
16
17
18
def parse_headers(headers_str: str) -> dict[str, str]:
19
- headers = dict(
+ headers = dict( # NOSONAR(S7494) force this to dict
20
header_str.split(":", 1) for header_str in headers_str.split("\r\n") if ":" in header_str
21
- ) # NOSONAR(S7494) force this to dict
+ )
22
return {k.strip(): v.strip() for k, v in headers.items()}
23
24
0 commit comments