I was finding it handy in testing but, in most situations I've come up
with so far, I'm going to need things returned in a specific format
but it may not be the default format (image, rss feed formatted xml
that can plug into cffeed). I found myself relying on the .extension
format rather than having things return in the format that was
required of it.... In some situations like using img src= for example,
I would not want to be stuck having to deal with headers when sending
out my get request... So what I'm saying is, I would not have a
problem with losing the extension and adding in header based return
format, as long as there's a way to specifically define the return
format for special cases when I don't want the default formatting to
be returned, and can't really mess with headers.
Does that make sense?
Good luck on your presentation.
On May 13, 7:39 am, Steve Rittler <
scritt...@gmail.com> wrote:
> I would have no problem with this change - I don't use this feature in my
> apps at the present time.
>
> steve
>
>
>
>
>
>
>
>
>
> On Fri, May 13, 2011 at 2:09 AM, Adam Tuttle <
a...@fusiongrokker.com> wrote:
> > From the beginning, Taffy has allowed you to support multiple return data
> > formats and allow your consumers to specify which one they want back by
> > appending the equivalent of the "file extension" to the URL; as in:
>
> >
http://api.example.com/users.json
> >
http://api.example.com/users.xml
> >
http://api.example.com/users.yaml
>
> > It turns out that this is kind of anti-REST... in as much as it breaks the
> > concept of resources (URI) and ignores the HTTP Accept header. This is an
> > issue that has surfaced while trying to find a solution to this bug<
https://github.com/atuttle/Taffy/issues/35>
> > .
>
scritt...@gmail.com