diff options
Diffstat (limited to '')
-rw-r--r-- | comm/mailnews/test/data/multipart-complex1 | 35 | ||||
-rw-r--r-- | comm/mailnews/test/data/multipart-complex1.out | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/comm/mailnews/test/data/multipart-complex1 b/comm/mailnews/test/data/multipart-complex1 new file mode 100644 index 0000000000..f9473072d8 --- /dev/null +++ b/comm/mailnews/test/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--
diff --git a/comm/mailnews/test/data/multipart-complex1.out b/comm/mailnews/test/data/multipart-complex1.out new file mode 100644 index 0000000000..5dcd69d888 --- /dev/null +++ b/comm/mailnews/test/data/multipart-complex1.out @@ -0,0 +1 @@ +This part should be returned.
\ No newline at end of file |