From 6eea092fc52820b8458c596b05f18a1dabd50e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20T=C5=AFma?= Date: Tue, 5 May 2026 18:59:11 +0200 Subject: [PATCH] Apply suggested fix to poorwsgi/fieldstorage.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- poorwsgi/fieldstorage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poorwsgi/fieldstorage.py b/poorwsgi/fieldstorage.py index 0a4f008..a519017 100644 --- a/poorwsgi/fieldstorage.py +++ b/poorwsgi/fieldstorage.py @@ -425,7 +425,7 @@ class FieldStorageParser: """ BUFSIZE = 8*1024 # buffering size for copy to file and storing StringIO - def __init__(self, input_=None, headers=None | Headers, outerboundary=b'', + def __init__(self, input_=None, headers: Optional[Headers] = None, outerboundary=b'', keep_blank_values=0, strict_parsing=0, limit=None, encoding='utf-8', errors='replace', max_num_fields=None, separator='&', file_callback=None):