I'm trying to determine the best way to allow a weblocks webapp to
implement a REST style API ala twitterThe problem is that any webapp
request wraps all returned data in an <html tag with header info
embedded. I either need to write some kind of extension in the
weblocks request handler or add another raw dispatch handler to
hunchentoot. Has anyone solved this problem already (providing RSS
feeds, etc?)
Ian
You can use Hunchentoot's ABORT-REQUEST-HANDLER (I think that's
the name) to send a direct reply from your dispatcher, thus
bypassing the Weblocks request pipeline while still using
Weblocks dispatch.
Leslie