Re: [Pharo-project] Parsing HTTP dates

2012-05-12 Thread Stéphane Ducasse
+100 > 'It is you Pharo'. > We have to make things better, one little step at a time, for all of us > together.

Re: [Pharo-project] Parsing HTTP dates

2012-05-10 Thread Sven Van Caekenberghe
On 10 May 2012, at 18:28, Sean P. DeNigris wrote: > I patched the parser to succeed for all 3 examples and updated the tests, > which all pass. I uploaded the packages to the SqS repository. > > The parsing method is now ugly. I would break it out into a separate class > (or at least some privat

Re: [Pharo-project] Parsing HTTP dates

2012-05-10 Thread Sean P. DeNigris
I patched the parser to succeed for all 3 examples and updated the tests, which all pass. I uploaded the packages to the SqS repository. The parsing method is now ugly. I would break it out into a separate class (or at least some private methods), but I just made it work and left it to you to deci

Re: [Pharo-project] Parsing HTTP dates

2012-05-10 Thread Sean P. DeNigris
Sven Van Caekenberghe wrote > > You are underestimating me again ;-) > Ha ha. You're too good. I'm not used to this level of service ;-) Sven Van Caekenberghe wrote > > ZnUtils>>parseHttpDate: string > Damn, I was looking for a ZnDate* Sven Van Caekenberghe wrote > > That should cover th

Re: [Pharo-project] Parsing HTTP dates

2012-05-10 Thread Sven Van Caekenberghe
Sean, On 10 May 2012, at 16:39, Sean P. DeNigris wrote: > Excerpt from http://forum.world.st/Parsing-HTTP-dates-td4623583.html : > >In HTTP/1.1, valid dates come in 3 forms (per > http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1) : > Sun, 06 Nov 1994 08:49:37 GMT ; RFC 8

[Pharo-project] Parsing HTTP dates

2012-05-10 Thread Sean P. DeNigris
Excerpt from http://forum.world.st/Parsing-HTTP-dates-td4623583.html : In HTTP/1.1, valid dates come in 3 forms (per http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1) : Sun, 06 Nov 1994 08:49:37 GMT ; RFC 822, updated by RFC 1123 Sunday, 06-Nov-94 08:49:37 GMT ; RF