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

Just to mention it. The server is broken and does not behave RFC 2616
compliant.

from RFC 2616, 3.3.1 Full Date

...
This is indicated in the first two formats by the inclusion of "GMT" as the
three-letter abbreviation for time zone, and MUST be assumed when reading the
asctime format.
...
       HTTP-date    = rfc1123-date | rfc850-date | asctime-date
       rfc1123-date = wkday "," SP date1 SP time SP "GMT"
       rfc850-date  = weekday "," SP date2 SP time SP "GMT"
       asctime-date = wkday SP date3 SP time SP 4DIGIT

Therefore Wget should just ignore the timezone in rfc1123-date and rfc850-date
and always assume GMT/UTC.


    _______________________________________________________

Reply to this item at:

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

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


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to