Dear Devs!

If i make a link to an email, and specify the disp parameter to "a", the Content-Disposition: attachment header missing from the response, so the browser just displays the email.
For example: https://webmail.example.com/service/...&id=789&disp=a

I think the disp parameter should be independent from the fmt parameter.

Any tip in this case?

(I would like to save the messages in eml format.)

Best regards,
Károly Marton


rest.txt:
------------------------------------------------------------
URL
------------------------------------------------------------

http://server/home/[~][{username}]/[{folder}]?[{query-params}]
fmt={ics, csv, etc}
id={item-id}
list={item-id}*[,{item-id}]
imap_id={item-imap-id} (must also specify folder)
part={mime-part}
query={search-query}
types={types} // when searching
start={date-specifier}
end={date-specifier}
auth={auth-types}
disp=i|a

{disp} = i - means "inline" and the browser will open up the attachment inline
a - means "attachment" and the browser will put up a download window