On Sat, Nov 8, 2008 at 1:36 PM, Tim Perrett <[EMAIL PROTECTED]> wrote:

> Otherwise, im looking to create a service that operates like this:
>
> GET /articles.xml => serves as xml
> GET /articles.js (or .json, whichever is more appropriate) => serves
> as json
>
> and
>
> GET /articles/1234.xml
> GET /articles/1234.js



Just curios, but whats wrong with

GET /articles/1234 HTTP/1.1
Host: example.com
Accept: text/xml; q=1.0,  application/json; q=0.8

?

BR,
John

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