Skip Menu |

This queue is for tickets about the HTTP-Date CPAN distribution.

Report information
The Basics
Id: 75150
Status: resolved
Priority: 0/
Queue: HTTP-Date

People
Owner: Nobody in particular
Requestors: phil [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in:
  • 6.00
  • 6.01
Fixed in: (no value)



Subject: Missing a commonly used HTTP date format
I found your HTTP-Date module to not parse following date format i've seen on many HTTP servers: 'Mon, 20 Feb 2012 10:44:34 +0000 GMT' It would be _very_ nice to have this supported in the future. Thank you for the great work with HTTP-Date!!
It would be helpful to document a few specific cases of this. Do you have any examples available, or know the name of server software that generates such dates?
It seems, that some php based cms systems generate such dates. e.g. http://www.inobas.com/aboutus/imprint.php?lang=de
On Mon Feb 20 07:09:52 2012, GAAS wrote: Show quoted text
> It would be helpful to document a few specific cases of this. Do you > have any examples > available, or know the name of server software that generates such > dates?
The Twitter API gives dates in this format, e.g. https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline
On 2012-02-20 07:30:36, PHIL wrote: Show quoted text
> It seems, that some php based cms systems generate such dates. > e.g. http://www.inobas.com/aboutus/imprint.php?lang=de
This URL does not exist anymore. The replacement URL seems to be http://inobas.de/unternehmen/ but this is creating a pretty standard Date HTTP header: Date: Thu, 17 Dec 2015 12:15:22 GMT
On 2014-04-28 04:18:06, mjemmeson wrote: Show quoted text
> On Mon Feb 20 07:09:52 2012, GAAS wrote:
> > It would be helpful to document a few specific cases of this. Do you > > have any examples > > available, or know the name of server software that generates such > > dates?
> > > The Twitter API gives dates in this format, e.g. > https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline
Currently the documentation lists examples like "created_at": "Wed Aug 29 17:12:58 +0000 2012", which is different from what the original poster described (and here it's not HTTP anyway).