tcl-websh-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David McTavish <>
Subject websh and returning HTTP errors
Date Thu, 13 Nov 2003 21:14:13 GMT
Is it possible to respond to a request with an HTTP error (as per the RFC
In particular, I'd like to make use of internal errors such as 400 "Bad
Request" and 404 "Not Found".

I was hoping that this would be possible via:
web::response -set Response-Header "HTTP/1.1 404 Not Found\n"

But this doesn't seem to work as expected.


View raw message