I was working on a REST api for work yesterday didn't see a documented
way for me to have extensions other than the standard jpg/xml/json/png
extensions to be parsed from a Req. After looking though the source I
found it is easy to do with LIftRules so I thought I would post this.

in Boot.scala

// add extension for protocol buffers extension
LiftRules.explicitlyParsedSuffixes =
LiftRules.explicitlyParsedSuffixes + "proto"

Thats all.

-Andy

-- 
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.

Reply via email to