• amirouche's avatar
    helpers: add cookies helpers. · cbe0db05
    amirouche authored
    - Add a #:cookies key parameter to 'redirect' that allows to set
      cookies. This is done in 'redirect' because it seems to me that
      settings cookies is only useful after a form a successful POST
      request and POST requests must always be followed by a redirect to
      avoid buggy request replay (via page refresh).
    
    - Add 'request-cookies' public procedure.
    cbe0db05
helpers.scm 2.83 KB