<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">>so let's see what the best "option" is to make it a good dev. experience :)</span><br><div style><font face="arial, sans-serif">If this will help developers then lets add it :) </font></div>
<div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">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.</font></div>
<div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">Please create a feature request for this and we can look into it. </font></div><div style><font face="arial, sans-serif"><br>
</font></div><div style><font face="arial, sans-serif"><br></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 28 March 2013 11:45, Matthias Wessendorf <span dir="ltr"><<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, Mar 28, 2013 at 11:40 AM, Bruno Oliveira <<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>> wrote:<br>
> Nothing odd, just something not tested/required before ;)<br>
<br>
</div>so let's see what the best "option" is to make it a good dev. experience :)<br>
<div class="im HOEnZb"><br>
><br>
><br>
> --<br>
> "The measure of a man is what he does with power" - Plato<br>
> -<br>
> @abstractj<br>
> -<br>
> Volenti Nihil Difficile<br>
><br>
> On Thursday, March 28, 2013 at 7:36 AM, Matthias Wessendorf wrote:<br>
><br>
> receiving a 404 is a bit odd - at least I feel it that way :)<br>
><br>
><br>
><br>
</div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> aerogear-dev mailing list<br>
> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
<br>
--<br>
Matthias Wessendorf<br>
<br>
blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br></div>