Skip to content

Commit

Permalink
Expose cookies-in
Browse files Browse the repository at this point in the history
  • Loading branch information
gigamonkey committed Jan 12, 2012
1 parent 7598c86 commit f98fecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ TIME."
"Get the value of the cookie with the given name sent by the client
or NIL if no such cookie was sent."
(when-let (cookie (cdr (assoc name (cookies-in request) :test #'string=)))
(slot-value cookie 'value)))
cookie))

(defun set-cookie (name request &key (value "") expires path domain secure http-only)
"Set a cookie to be sent with the reply."
Expand Down
1 change: 1 addition & 0 deletions packages.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@

;; Incoming cookies
:cookie-value
:cookies-in

;; Control the response
:send-headers
Expand Down

0 comments on commit f98fecb

Please sign in to comment.