basic w30 sending and receiving

This commit is contained in:
B. Petersen
2021-11-22 18:20:34 +01:00
committed by bjoern
parent 41f9314e2a
commit de20e4c9dd
16 changed files with 810 additions and 7 deletions

View 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==--

View 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

Binary file not shown.