|
From: | Shawn |
Subject: | [Bug-wget] [bug #46611] log errors with --trust-server-names |
Date: | Wed, 16 Mar 2016 09:02:10 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36 |
Follow-up Comment #4, bug #46611 (project wget): I'm afraid I still don't understand how this is fine. I've tested now and see that you're right: the --adjust-extension feature is what is responsible for creating the ghost ".html" extension in the output log. The thing is that the downloaded file isn't actually named ".html" -- it's clearly an EXE file and the content-type being returned is neither "text/html" nor "application/xhtml+xml" (it's "application/octet-stream"), so the appended ".html" in the log should not be there. This "cosmetic" issue makes it difficult to reliably parse the log for downloaded file names. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46611> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |