Change func

This commit is contained in:
Sky O 2024-03-29 14:09:39 +00:00
parent 0b80debad2
commit 1751ef3fd0

View File

@ -8,7 +8,7 @@ def get_body_from_form_data(
) -> Tuple[Optional[bytes], Dict[str, str]]:
print("YO BYTES", body)
def on_part_begin(string: str):
def on_part_begin():
print("YO PART BEGAN")
return
@ -54,7 +54,7 @@ def get_body_from_form_data(
"on_header_end": on_header_end,
"on_headers_finished": on_headers_finished,
"on_end": on_end,
},
}
)
parser.write(body)
parser.finalize(body)