Re: header parsing

2011-09-10 Thread Ian Price
Andy Wingo writes: > I'm a bit hesitant on this one, as parse-qstring is used in so many > other places. Perhaps change this one to add parse-opaque-or-qstring or > something, and call that from parse-etag? Dunno. Are there really many > sites that do this to their etags? With the script in q

Re: header parsing

2011-09-10 Thread Andy Wingo
Hi Ian, On Fri 09 Sep 2011 11:42, Ian Price writes: > Writing a quick script the other day I came across two issues when > guile parses http headers. The first is that 'parse-rfc-822-date' does > not allow for single digit days, which are allowed in rfc822/1123 [0]. Applied, thanks. > Secondly

Re: header parsing

2011-09-09 Thread Ian Price
> Patches are supplied for both. Apparently not. ;-) -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" >From 8cde08a514ff1c0d4c09dbfd2d2ae50dc090db46 Mon Sep 17 00:00:00 2001 From: Ian Price Date: Fri, 9 S

header parsing

2011-09-09 Thread Ian Price
Hi guilers, Writing a quick script the other day I came across two issues when guile parses http headers. The first is that 'parse-rfc-822-date' does not allow for single digit days, which are allowed in rfc822/1123 [0]. Secondly, a non-guile problem, is that many sites don't quote their etags.