Fix testing #7

Closed
stanislav.hejny wants to merge 7 commits from fix_testing into develop
Showing only changes of commit 2e1b95675a - Show all commits
+1 -1
View File
@@ -24,7 +24,7 @@ class CleverMultiPartParser:
headers = {key: "\n".join(value).encode("utf-8") for key, value in message.headers.items()}
content_type: str | bytes | None = headers.get("Content-Type")
content_type, params = multipart.parse_options_header(content_type)
if content_type in ["application/octet-stream",
if content_type.decode('utf-8') in ["application/octet-stream",
"multipart/form-data",
"application/x-www-form-urlencoded",
"application/x-url-encoded"]: