Hey Marius,
I've just been having a play with a clean lift app and I see I can do
this in boot:
def defaultResponse: Can[LiftResponse] = Full(PlainTextResponse("ok"))
LiftRules.addDispatchBefore {
case RequestState("demo" :: Nil, "txt", GetRequest) => () =>
defaultResponse
}
So thats cool, I get how I can use this to serve my different formats.
Sweet.
Im not familiar with JSON handler? I was using that as purely an
example, but sure, id be interested in knowing more about
JsonHandler... have we any documentation?
Cheers, Tim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" 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/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---