Subject: bug#30664: 25.2; eww-download corrupts PDF files (and probably other binary files too)

From: Eli Zaretskii <[email-masked]>
Date: Thu, 01 Mar 2018 21:18:56 +0200

> From: Andreas Schwab <[email-masked]>
> Date: Thu, 01 Mar 2018 18:10:34 +0100
> Cc: [email-masked]
> 
> I think it's only a problem because PDF files look like text files.
> Other binary files are immediately recognized as binary.

You are right, but I think a download function should produce a file
that is identical to its original, even if it's a text file.  No
coding conversions or EOL conversions should take place.