Skip to content

Commit

Permalink
api fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vseloved committed Apr 19, 2017
1 parent 80bd553 commit 89a9ca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/core.lisp
Expand Up @@ -64,9 +64,9 @@
'cl-nlp-api (strcat "api" path))))
(if-it (probe-file filename)
(list 200
(list "Content-Type" (or (htt:mime-type it)
(list "Content-Type" (or (hunchentoot:mime-type it)
"application/octet-stream")
"Last-Modified" (htt:rfc-1123-date
"Last-Modified" (hunchentoot:rfc-1123-date
(or (file-write-date it)
(get-universal-time)))
"Content-Length"
Expand Down
2 changes: 1 addition & 1 deletion cl-nlp-api.asd
Expand Up @@ -7,7 +7,7 @@
:maintainer "Vsevolod Dyomkin <vseloved@gmail.com>"
:license "Apache 2.0"
:depends-on (#:rutilsx #:cl-nlp
#:woo #:local-time #:yason
#:woo #:local-time #:yason #:hunchentoot
#:babel #:flexi-streams #:verbose #:cl-who)
:serial t
:components
Expand Down

0 comments on commit 89a9ca4

Please sign in to comment.