diff options
| author | Barry Warsaw | 2012-03-15 19:06:22 -0700 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-15 19:06:22 -0700 |
| commit | 44ec37f890c7d4d35504d8f2e56c01abe8c60940 (patch) | |
| tree | 1be17a33b6deb243abb7397b5038ede72411614b /src/mailman/pipeline/docs | |
| parent | bcc42e2201c7172848185e5675a7b79e3d28aa0f (diff) | |
| download | mailman-44ec37f890c7d4d35504d8f2e56c01abe8c60940.tar.gz mailman-44ec37f890c7d4d35504d8f2e56c01abe8c60940.tar.zst mailman-44ec37f890c7d4d35504d8f2e56c01abe8c60940.zip | |
Diffstat (limited to 'src/mailman/pipeline/docs')
| -rw-r--r-- | src/mailman/pipeline/docs/rfc-2369.rst | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/src/mailman/pipeline/docs/rfc-2369.rst b/src/mailman/pipeline/docs/rfc-2369.rst index a1ba6c746..1b89f2354 100644 --- a/src/mailman/pipeline/docs/rfc-2369.rst +++ b/src/mailman/pipeline/docs/rfc-2369.rst @@ -148,35 +148,11 @@ header will be added. >>> mlist.archive = True - >>> from mailman.config import config - >>> config.push('pipermail', """ - ... [archiver.prototype] - ... enable: no - ... [archiver.mail_archive] - ... enable: no - ... [archiver.mhonarc] - ... enable: no - ... [archiver.pipermail] - ... enable: yes - ... """) - - >>> msg = message_from_string("""\ - ... From: aperson@example.com - ... - ... """) - >>> process(mlist, msg, {}) - >>> list_headers(msg, only='list-archive') - ---start--- - list-archive: <http://www.example.com/pipermail/test@example.com> - ---end--- - `RFC 5064`_ defines the `Archived-At` header which contains the url to the individual message in the archives. Archivers which don't support -pre-calculation of the archive url cannot add the `Archived-At` header, as is -the case with Pipermail (see above). However, other archivers can calculate -the url, and do add this header. +pre-calculation of the archive url cannot add the `Archived-At` header. +However, other archivers can calculate the url, and do add this header. - >>> config.pop('pipermail') >>> config.push('prototype', """ ... [archiver.prototype] ... enable: yes |
