<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">&gt;so let&#39;s see what the best &quot;option&quot; 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&#39;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(&quot;application/json&quot;), and if a request has an Accept header that is &quot;text/html&quot;, then we simply accept that too for the route and return json. But if it the route specifically produces &quot;text/html&quot; 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">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</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 &lt;<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>&gt; wrote:<br>

&gt; Nothing odd, just something not tested/required before ;)<br>
<br>
</div>so let&#39;s see what the best &quot;option&quot; is to make it a good dev. experience :)<br>
<div class="im HOEnZb"><br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; &quot;The measure of a man is what he does with power&quot; - Plato<br>
&gt; -<br>
&gt; @abstractj<br>
&gt; -<br>
&gt; Volenti Nihil Difficile<br>
&gt;<br>
&gt; On Thursday, March 28, 2013 at 7:36 AM, Matthias Wessendorf wrote:<br>
&gt;<br>
&gt; receiving a 404 is a bit odd - at least I feel it that way :)<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <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>