Bug 220090 - "Last-Modified" header: error when parsing, wget refuses to set mtime
Summary: "Last-Modified" header: error when parsing, wget refuses to set mtime
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: wget
Version: 6
Hardware: All
OS: All
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-18 21:35 UTC by Moritz Barsnick
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-12 13:13:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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. :)


Note You need to log in before you can comment on or make changes to this bug.