[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qexo-general] bug in response-status() / error-response()
From: |
Terje Pedersen |
Subject: |
[Qexo-general] bug in response-status() / error-response() |
Date: |
Thu, 24 Jul 2003 04:17:18 +0200 |
User-agent: |
KMail/1.5.1 |
Sending a response-status() without the optional message parameter doesn't
work:
Example:
response-status(401) (: Doesn't work :)
response-status(401,"") (: Working :)
response-status(401,"Some message") (: Working :)
In HTTP.scm:
(define (response-status (code :: <int>) #!optional (message :: <String>
#!null))
(response-header '|Status|
(format (if (eq? message #!null) "~d" "~d ~a")
code message)))
I just added a space after ~d in the format line:
(format (if (eq? message #!null) "~d " "~d ~a")
Now it works.
Terje Pedersen
- [Qexo-general] bug in response-status() / error-response(),
Terje Pedersen <=