Bug 64003 - mod_mbox: Permalink with Accept: message/rfc822 should return the raw message
Summary: mod_mbox: Permalink with Accept: message/rfc822 should return the raw message
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_mbox (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-14 18:25 UTC by Daniel Shahaf
Modified: 2019-12-14 18:25 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Shahaf 2019-12-14 18:25:15 UTC
Feature request: make `curl -H "Accept: message/rfc822" https://mail-archives.apache.org/mod_mbox/www-announce/201912.mbox/%3C4c42c008-d53b-4f54-9a86-fa5d97f5beec%40www.fastmail.com%3E` return the raw RFC822 message, as served by <https://mail-archives.apache.org/mod_mbox/www-announce/201912.mbox/raw/%3C4c42c008-d53b-4f54-9a86-fa5d97f5beec%40www.fastmail.com%3E>.

Got the idea from <https://tools.ietf.org/html/rfc5064#section-3.1>.

[Incidentally, the /raw/ URL is served as Content-Type: text/plain.  Wouldn't message/rfc822 be better?]