use symbol to search in browser headers
This commit is contained in:
parent
8b627decc5
commit
f23cd71100
|
@ -9,8 +9,9 @@
|
|||
(define *cache-lock* (make-lock))
|
||||
|
||||
(define (get-bindings surflet-request)
|
||||
(format #t "** headers: ~S~%" (surflet-request-headers surflet-request))
|
||||
(let ((request-method (surflet-request-method surflet-request))
|
||||
(content-type (assoc "content-type"
|
||||
(content-type (assoc 'content-type
|
||||
(surflet-request-headers surflet-request))))
|
||||
|
||||
;; Check if we the content-type is the one we support. If there's
|
||||
|
|
Loading…
Reference in New Issue