Bug 2977 - Improve attachment naming consistency with modern trends
Summary: Improve attachment naming consistency with modern trends
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.9.1
Hardware: PC All
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2013-07-14 17:16 UTC by LoseDanger
Modified: 2013-07-14 17:22 UTC (History)
0 users

See Also:


Attachments

Description LoseDanger 2013-07-14 17:16:54 UTC
When claws sends an attachment of unknown content-type, it uses:

Content-Type: application/octet-stream; name=filename.kitten
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=filename.kitten

Using the name= parameter is no longer necessary, so the following can be sent instead:

Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=filename.kitten

Claws already behaves this way when it sends an attachment with a known content-type, so consistency should be preferred.

Additionally, removing this name= parameter presents some message size savings.

Note You need to log in before you can comment on or make changes to this bug.