Why even bother

This commit is contained in:
Sky O 2024-03-29 19:22:21 +00:00
parent 98db9d22a6
commit e6733a3f51

View File

@ -39,21 +39,19 @@ def get_body_from_form_data(
return
def on_header_begin():
print("YO NEW HEADER")
h = Header()
current_part.headers.append(h)
return
def on_header_end():
return
def on_header_field(b,s,e):
print("YO HEADER FIELD")
h = Header()
current_part.headers.append(h)
current_part.headers[-1].name = b[s:e]
return
def on_header_value(b,s,e):
print("YO HEADER VALUE")
current_part.headers[-1].value = b[s:e]
return