On Wed, Sep 09, 2009 at 07:44:56PM -0700, Ian Eslick wrote:

> 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?)

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to