summaryrefslogtreecommitdiff
path: root/mulkcms-hunchentoot.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'mulkcms-hunchentoot.lisp')
-rw-r--r--mulkcms-hunchentoot.lisp4
1 files changed, 3 insertions, 1 deletions
diff --git a/mulkcms-hunchentoot.lisp b/mulkcms-hunchentoot.lisp
index 9cd4b9c..9f81cb0 100644
--- a/mulkcms-hunchentoot.lisp
+++ b/mulkcms-hunchentoot.lisp
@@ -13,7 +13,9 @@
(lambda () (handle-static-file file)))))
(defun dispatch-mulkcms-request (request)
- (let* ((relative-path (subseq (script-name request) 1)))
+ (let* ((relative-path (subseq (script-name request) 1))
+ (mulkcms::*use-ssl-p* (equal (header-in* :x-use-ssl)
+ "true")))
(mulkcms::find-request-handler relative-path
(append (get-parameters*)
(post-parameters*))