mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Debug
							parent
							
								
									1bc8914973
								
							
						
					
					
						commit
						0969ccc29c
					
				|  | @ -2653,9 +2653,8 @@ class PubServer(BaseHTTPRequestHandler): | ||||||
|             # why don't we just use msg.is_multipart(), rather than splitting? |             # 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 |             # TL;DR it doesn't work for this use case because we're not using | ||||||
|             # email style encoding message/rfc822 |             # 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) |             messageFields=msg.get_payload(decode=True).decode('utf-8').split(boundary) | ||||||
|  |             print('messageFields: '+str(messageFields)) | ||||||
|             fields={} |             fields={} | ||||||
|             filename=None |             filename=None | ||||||
|             attachmentMediaType=None |             attachmentMediaType=None | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue