bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] [bug #52404] wget -mk run twice wrongly fixes links in javasc


From: Tim Ruehsen
Subject: [Bug-wget] [bug #52404] wget -mk run twice wrongly fixes links in javascript files
Date: Wed, 15 Nov 2017 14:43:18 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #1, bug #52404 (project wget):

The first time, the file will just download and no conversion takes place.

The second call to wget doesn't download any file (because of 304 answer) but
tries to modify both ! This is wrong - as at least the .js file is neither an
html nor a css file.

If you add --no-modified-since to the second call, the problem is gone. It
looks like the 304 response does not contain a Content-Type - and I guess the
default for Wget is text/html then.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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