Good call. I am not all against the support of X-JSON. I just would
like to see my suggestion as being added one way or another cause i
thought this was missing.

I personally like the object extension which was suggested earlier.
Maybe something like responseJSON ...


On 1/22/07, Ryan Gahl <[EMAIL PROTECTED]> wrote:
> Are they necessarily mutually exclusive? Can X-JSON not stay for those who
> like it, and support for a _configurable_OR_standard_ content type be added?
> This seems like something that could be configurable at the application,
> page, or request level under various conditions or developer preference.
>
>
> On 1/22/07, Mislav Marohnić <[EMAIL PROTECTED]> wrote:
> > On 1/22/07, Kjell Bublitz < [EMAIL PROTECTED]> wrote:
> >
> > >
> > > But.. it's a matter of application design after all. Generally: mixing
> > > mime is bad.
> >
> > Ever uploaded a file through a browser, or received a HTML/txt e-mail? I'm
> sorry to break it to you like this, but you mixed mime when you did :)
> >
> > William F.: we got over the MIME-type discussion. "application/json" is
> here to stay, "text/x-json" is invalid.
> >
> > Kjell, if I understand correctly, you're suggesting to drop X-JSON header
> feature in favor of JSON in body?
> >
> > If we did that, it would make a lot of developers sad :(
> >
> > My reasons to keep it:
> >
> >
> > it's a simple hack;
> > it's easy to do;
> > it's not bloat to the framework;
> > HTML, text or even XML with a side-dish of JSON is yummy. --
> > Mislav
> >
> >
> >
> >
> >
>
>
>
> --
> Ryan Gahl
> Application Development Consultant
> Athena Group, Inc.
> Inquire: 1-920-955-1457
> Blog: http://www.someElement.com
>
>  >
>


-- 
Kjell
-- www.m3nt0r.de

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to