Created
March 2, 2016 22:18
-
-
Save sjl/3defab3a443bbc08346a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun get-body (env) | |
(let* ((content-length (getf env :content-length)) | |
(raw-body (getf env :raw-body)) | |
(body (make-string content-length))) | |
(read-sequence body raw-body) | |
body)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment