Skip to content

Commit

Permalink
Responce could also be a pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
knobo committed Nov 9, 2018
1 parent 6fdfec6 commit efb03ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/response.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
(list* status headers
(cond
((and no-body (not body)) nil)
((consp body) (list body))
((or (consp body) (pathnamep body))
(list body))
(t (list (list body)))))))

(defun finalize-cookies (res)
Expand Down

0 comments on commit efb03ab

Please sign in to comment.