bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #46611] log errors with --trust-server-names


From: Tim Ruehsen
Subject: [Bug-wget] [bug #46611] log errors with --trust-server-names
Date: Wed, 16 Mar 2016 11:50:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #7, bug #46611 (project wget):

Sorry to answer my own question:

>From the Wget source code:

  /* If content-type is not given, assume text/html.  This is because
     of the multitude of broken CGI's that "forget" to generate the
     content-type.  */

We should leave it as it is.
We could do
- content sniffing
- examine the file name extension

WDYT ?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46611>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]