merge-requests/30/head
Bob Mottram 2022-07-10 22:03:14 +01:00
parent 0523568307
commit e963b32353
1 changed files with 4 additions and 4 deletions

View File

@ -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