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
> 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:
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
(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
4 matches
Mail list logo