summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/mime/jsmime/test/unit/data/multipart-complex1
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mailnews/mime/jsmime/test/unit/data/multipart-complex1')
-rw-r--r--comm/mailnews/mime/jsmime/test/unit/data/multipart-complex135
1 files changed, 35 insertions, 0 deletions
diff --git a/comm/mailnews/mime/jsmime/test/unit/data/multipart-complex1 b/comm/mailnews/mime/jsmime/test/unit/data/multipart-complex1
new file mode 100644
index 0000000000..f9473072d8
--- /dev/null
+++ b/comm/mailnews/mime/jsmime/test/unit/data/multipart-complex1
@@ -0,0 +1,35 @@
+Content-Type: multipart/mixed; boundary="boundary"
+
+This shouldn't appear.
+--boundary
+Content-Type: application/octet-stream
+Content-Transfer-Encoding: base64
+
+VGhpcyBpc24ndCByZWFsbHkgYW4gYXBwbGljYXRpb24vb2N0ZXQtc3RyZWFtLiA7KQ=='
+
+--boundary
+Content-Type: image/png
+Content-Transfer-Encoding: base64
+
+TmVpdGhlciBpcyB0aGlzIGFuIGltYWdlL3BuZy4=
+
+--boundary
+Content-Type: multipart/related; boundary="boundary2"
+
+--boundary2
+Content-Type: text/html
+
+<html><head>This part should be returned.</head></html>
+
+--boundary2--
+
+--boundary
+Content-Type: text/plain
+
+This part shouldn't.
+
+--boundary
+
+Neither should this part!
+
+--boundary--