Change func
This commit is contained in:
parent
0b80debad2
commit
1751ef3fd0
@ -8,7 +8,7 @@ def get_body_from_form_data(
|
|||||||
) -> Tuple[Optional[bytes], Dict[str, str]]:
|
) -> Tuple[Optional[bytes], Dict[str, str]]:
|
||||||
print("YO BYTES", body)
|
print("YO BYTES", body)
|
||||||
|
|
||||||
def on_part_begin(string: str):
|
def on_part_begin():
|
||||||
print("YO PART BEGAN")
|
print("YO PART BEGAN")
|
||||||
return
|
return
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ def get_body_from_form_data(
|
|||||||
"on_header_end": on_header_end,
|
"on_header_end": on_header_end,
|
||||||
"on_headers_finished": on_headers_finished,
|
"on_headers_finished": on_headers_finished,
|
||||||
"on_end": on_end,
|
"on_end": on_end,
|
||||||
},
|
}
|
||||||
)
|
)
|
||||||
parser.write(body)
|
parser.write(body)
|
||||||
parser.finalize(body)
|
parser.finalize(body)
|
||||||
|
Loading…
Reference in New Issue
Block a user