bug-guile
[Top][All Lists]
Advanced

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

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


From: Andy Wingo
Subject: bug#13544: (web http) fails to parse numeric timezones in Date header
Date: Thu, 07 Mar 2013 23:28:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

On Thu 24 Jan 2013 23:13, address@hidden (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/





reply via email to

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