mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
0523568307
commit
e963b32353
|
@ -1485,7 +1485,7 @@ def extract_text_fields_in_post(post_bytes, boundary: str, debug: bool,
|
||||||
else:
|
else:
|
||||||
message_fields = unit_test_data
|
message_fields = unit_test_data
|
||||||
|
|
||||||
if debug:
|
# if debug:
|
||||||
print('DEBUG: POST arriving ' + message_fields)
|
print('DEBUG: POST arriving ' + message_fields)
|
||||||
|
|
||||||
message_fields = message_fields.split(boundary)
|
message_fields = message_fields.split(boundary)
|
||||||
|
@ -1495,7 +1495,7 @@ def extract_text_fields_in_post(post_bytes, boundary: str, debug: bool,
|
||||||
'instanceDescription', 'instanceDescriptionShort',
|
'instanceDescription', 'instanceDescriptionShort',
|
||||||
'subject', 'location', 'imageDescription'
|
'subject', 'location', 'imageDescription'
|
||||||
)
|
)
|
||||||
if debug:
|
# if debug:
|
||||||
print('DEBUG: POST message_fields: ' + str(message_fields))
|
print('DEBUG: POST message_fields: ' + str(message_fields))
|
||||||
lynx_content_type = 'Content-Type: text/plain; charset=utf-8\r\n'
|
lynx_content_type = 'Content-Type: text/plain; charset=utf-8\r\n'
|
||||||
# examine each section of the POST, separated by the boundary
|
# examine each section of the POST, separated by the boundary
|
||||||
|
|
Loading…
Reference in New Issue