[aerogear-dev] Controller consumes - defaults... / settings
Daniel Bevenius
daniel.bevenius at gmail.com
Thu Mar 28 06:52:48 EDT 2013
>so let's see what the best "option" is to make it a good dev. experience :)
If this will help developers then lets add it :)
We would need to look into this and have some special handling for
producers (it's what media types a route produces that is matched with the
Accept header in the request). Perhaps if the route only specifies that it
produces("application/json"), and if a request has an Accept header that is
"text/html", then we simply accept that too for the route and return json.
But if it the route specifically produces "text/html" it should be
forwarded to the view.
Please create a feature request for this and we can look into it.
On 28 March 2013 11:45, Matthias Wessendorf <matzew at apache.org> wrote:
> On Thu, Mar 28, 2013 at 11:40 AM, Bruno Oliveira <bruno at abstractj.org>
> wrote:
> > Nothing odd, just something not tested/required before ;)
>
> so let's see what the best "option" is to make it a good dev. experience :)
>
> >
> >
> > --
> > "The measure of a man is what he does with power" - Plato
> > -
> > @abstractj
> > -
> > Volenti Nihil Difficile
> >
> > On Thursday, March 28, 2013 at 7:36 AM, Matthias Wessendorf wrote:
> >
> > receiving a 404 is a bit odd - at least I feel it that way :)
> >
> >
> >
> > _______________________________________________
> > aerogear-dev mailing list
> > aerogear-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130328/8e25bc5a/attachment.html
More information about the aerogear-dev
mailing list