Fix a request->path-components-and-mime-type bug
The first value should always be a list.
This commit is contained in:
parent
658a1a20b2
commit
b15c8f706e
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@
|
||||||
(or (request-accept request)
|
(or (request-accept request)
|
||||||
(list 'text/html))))
|
(list 'text/html))))
|
||||||
((first-parts ... extension)
|
((first-parts ... extension)
|
||||||
(values (string-join first-parts ".")
|
(values (list (string-join first-parts "."))
|
||||||
(or (cons
|
(or (cons
|
||||||
(or (assoc-ref extensions-to-mime-types extension)
|
(or (assoc-ref extensions-to-mime-types extension)
|
||||||
'text/html)
|
'text/html)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue