I would certainly recommend you take a closer look at the LiftResponse subclasses.... your other question in another thread (that I already answered) is equally solved by looking at LiftResponse.
It depends what type of response you want, but at a base level, InMemoryResponse will do what you want... as I said, you need to look at LiftResponse subclasses and find the one that suits your needs. Cheers, Tim On 29 Dec 2009, at 17:07, Alex Black wrote: > In my snippet I'd like to change the response status code from the > default 200 to something else, say 201, or 404. (see > http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). > > I see there is a method on S to change the doctype, but I don't see > one to change the status code. > > Thanks, > > - Alex > > -- > > 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. > > > -- 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.
