Bug 220090

Summary: "Last-Modified" header: error when parsing, wget refuses to set mtime
Product: [Fedora] Fedora Reporter: Moritz Barsnick <moritz>
Component: wgetAssignee: Karsten Hopp <karsten>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-12 13:13:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Moritz Barsnick 2006-12-18 21:35:41 UTC
Description of problem:
wget does not understand a certain  header, refusing to set the mtime of the 
downloaded file.

Version-Release number of selected component (if applicable):
wget-1.10.2-7

How reproducible:

Steps to Reproduce:
1. wget -Sv http://dl.google.com/earth/GE4/GoogleEarthLinux.bin
  
Actual results:
[...]
  Last-Modified: Sat, 16 Dec 2006 12:29:52 JST
[...]
Last-modified header invalid -- time-stamp ignored.

Expected results:
mtime is set correctly.

Additional info:
touch -d "Sat, 16 Dec 2006 12:29:52 JST" GoogleEarthLinux.bin
(so using the date returned by the server) sets the date correctly, so the 
coreutils date parsing routines seem to be okay with this date format.

Server is:
  Server: GFE/1.3
not Apache. :)