Avoid needlessly setting the encoding
This commit is contained in:
parent
cb2085b684
commit
ee2a93fbca
1 changed files with 2 additions and 1 deletions
|
@ -317,7 +317,8 @@ on the procedure being called at any particular time."
|
||||||
(if body-written?
|
(if body-written?
|
||||||
(begin
|
(begin
|
||||||
(force-output client)
|
(force-output client)
|
||||||
(when (procedure? body)
|
(when (and (procedure? body)
|
||||||
|
(response-content-length response))
|
||||||
(set-port-encoding! client "ISO-8859-1"))
|
(set-port-encoding! client "ISO-8859-1"))
|
||||||
(keep-alive? response))
|
(keep-alive? response))
|
||||||
#f)))
|
#f)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue