Subject: bug#13544: (web http) fails to parse numeric timezones in Date header

From: Andy Wingo <[email-masked]>
Date: Thu, 07 Mar 2013 23:28:42 +0100

On Thu 24 Jan 2013 23:13, [email-masked] (Ludovic Courtès) writes:

> scheme@(guile-user)> (use-modules(web client)(web uri))
> scheme@(guile-user)> (http-get (string->uri "http://www.sqlite.org/"))
> web/http.scm:768:6: In procedure parse-asctime-date:
> web/http.scm:768:6: Bad Date header: Thu, 24  Jan 2013 21:53:01 +0000

As you can see here:

  http://pretty-rfc.herokuapp.com/RFC2616#date-time-formats

HTTP doesn't actually support other time zones.  The date header being
reported by sqlite.org is invalid.

Andy
-- 
http://wingolog.org/