diff --git a/moto/moto_proxy/proxy3.py b/moto/moto_proxy/proxy3.py index 8fd0ef1df0e7..2d98bde0496c 100644 --- a/moto/moto_proxy/proxy3.py +++ b/moto/moto_proxy/proxy3.py @@ -159,7 +159,7 @@ def do_GET(self) -> None: boundary = self.headers["Content-Type"].split("boundary=")[-1] req_body, form_data = get_body_from_form_data(req_body, boundary) # type: ignore for key, val in form_data.items(): - self.headers[key] = [val] + self.headers[key] = [val] # type: ignore[assignment] else: form_data = {}