mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 01:51:15 +00:00
Debug
This commit is contained in:
1 parent
1bc8914973
commit
0969ccc29c
1 file changed
+1
-2
@@ -2653,9 +2653,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
# why don't we just use msg.is_multipart(), rather than splitting?
|
||||
# TL;DR it doesn't work for this use case because we're not using
|
||||
# email style encoding message/rfc822
|
||||
print('msg.get_payload1: '+msg.get_payload(decode=False))
|
||||
print('msg.get_payload2: '+msg.get_payload(decode=True).decode('utf-8'))
|
||||
messageFields=msg.get_payload(decode=True).decode('utf-8').split(boundary)
|
||||
print('messageFields: '+str(messageFields))
|
||||
fields={}
|
||||
filename=None
|
||||
attachmentMediaType=None
|
||||
|
||||
Reference in new issue
Block a user