mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
basic w30 sending and receiving
This commit is contained in:
22
test-data/message/w30_bad_extension.eml
Normal file
22
test-data/message/w30_bad_extension.eml
Normal file
@@ -0,0 +1,22 @@
|
||||
Subject: W30 object attached
|
||||
Message-ID: 67890@example.org
|
||||
Date: Fri, 03 Dec 2021 10:00:27 +0000
|
||||
To: alice@example.org
|
||||
From: bob@example.org
|
||||
Chat-Version: 1.0
|
||||
Content-Type: multipart/mixed; boundary="==BREAK=="
|
||||
|
||||
|
||||
--==BREAK==
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
|
||||
w30 with correct extension;
|
||||
this is not that important here.
|
||||
|
||||
--==BREAK==
|
||||
Content-Type: application/html+w30
|
||||
Content-Disposition: attachment; filename=index.html
|
||||
|
||||
<html>hey!<html>
|
||||
|
||||
--==BREAK==--
|
||||
22
test-data/message/w30_good_extension.eml
Normal file
22
test-data/message/w30_good_extension.eml
Normal file
@@ -0,0 +1,22 @@
|
||||
Subject: W30 object attached
|
||||
Message-ID: 12345@example.org
|
||||
Date: Fri, 03 Dec 2021 10:00:27 +0000
|
||||
To: alice@example.org
|
||||
From: bob@example.org
|
||||
Chat-Version: 1.0
|
||||
Content-Type: multipart/mixed; boundary="==BREAK=="
|
||||
|
||||
|
||||
--==BREAK==
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
|
||||
w30 with good extension;
|
||||
the mimetype is ignored then.
|
||||
|
||||
--==BREAK==
|
||||
Content-Type: text/html
|
||||
Content-Disposition: attachment; filename=index.w30
|
||||
|
||||
<html>hey!<html>
|
||||
|
||||
--==BREAK==--
|
||||
BIN
test-data/w30/minimal.w30
Normal file
BIN
test-data/w30/minimal.w30
Normal file
Binary file not shown.
Reference in New Issue
Block a user