[tbnl-devel] faking *request* for testing

Phillip Jordan phillip.m.jordan at gmail.com
Wed Jun 14 07:18:38 UTC 2006


Austin Haas wrote:
> Does anyone know of a way to fake a *request* to test a handler?
> 
> The browser is crashing on a particular response, so it would be nice to be able
> to see the response in Slime.

If you set the global variable tbnl:*debug-mode* to t or any non-nil
value, tbnl will keep the last request made to the server in the global
variable tbnl:*request* where you can manually inspect it or call the
dispatcher/handlers manually. This requires the browser to make the
request, but by the sounds of it it's crashing on receiving the response.

~phil



More information about the Tbnl-devel mailing list