use char-set:digit instead of deprecated char-set:numeric
This commit is contained in:
parent
ed4ad0798f
commit
5f654f5fc3
|
@ -215,7 +215,7 @@
|
||||||
|
|
||||||
,@(cond ((get-header headers 'content-length) =>
|
,@(cond ((get-header headers 'content-length) =>
|
||||||
(lambda (cl) ; Skip initial whitespace (& other non-digits).
|
(lambda (cl) ; Skip initial whitespace (& other non-digits).
|
||||||
(let ((first-digit (string-index cl char-set:numeric))
|
(let ((first-digit (string-index cl char-set:digit))
|
||||||
(cl-len (string-length cl)))
|
(cl-len (string-length cl)))
|
||||||
(if first-digit
|
(if first-digit
|
||||||
`(("CONTENT_LENGTH" . ,(substring cl first-digit cl-len)))
|
`(("CONTENT_LENGTH" . ,(substring cl first-digit cl-len)))
|
||||||
|
|
Loading…
Reference in New Issue