Re: [racket] Print Cookie Path issue

2011-07-01 Thread Eli Barzilay
6 hours ago, Neil Van Dyke wrote: > J G Cho wrote at 07/01/2011 03:27 PM: > > Looking at net/cookie-unit.rkt, it's not obvious to me why "" are being > > printed. > > > > Looks like "cookie-path", for one, can add the quotes (indirectly; > ultimately in "convert-to-quoted"). > > Offhand, I co

Re: [racket] Print Cookie Path issue

2011-07-01 Thread J G Cho
> Looks like "cookie-path", for one, can add the quotes (indirectly; > ultimately in "convert-to-quoted"). I read that part after sending this email inquiry. It does seem to have some rules RFC rules about quoting string. ;; value: token | quoted-string (define (rfc2109:value? s) (or (rfc2068:

Re: [racket] Print Cookie Path issue

2011-07-01 Thread Neil Van Dyke
J G Cho wrote at 07/01/2011 03:27 PM: Looking at net/cookie-unit.rkt, it's not obvious to me why "" are being printed. Looks like "cookie-path", for one, can add the quotes (indirectly; ultimately in "convert-to-quoted"). Offhand, I could not tell you with certainty what the correct behav

[racket] Print Cookie Path issue

2011-07-01 Thread J G Cho
(map (λ (item) (display (header-field item)) (display " ") (display (header-value item)) (newline) item) (list (cookie->header (make-cookie "id" "joseph" #:max-age 500 #:path "/" outputs: Set-Cookie id=joseph; Max-Age=500; Path="/"; Version=1 I thin