<div dir="ltr">No. I think you have to parse the HTTP Header by yourself and then return corresponding body as "desktop.html" or "mobile.html"<div><br></div><div>Barco</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, Apr 12, 2014 at 8:48 AM, t x <span dir="ltr"><<a href="mailto:txrev319@gmail.com" target="_blank">txrev319@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Using cowboy, is there a easy way to, for:<br>
<br>
<a href="http://mysite.com/" target="_blank">mysite.com/</a> serve<br>
<br>
* ~/static/desktop.html if browser = chrome/firefox<br>
* ~/static/mobile.html if browser = android/iphone ?<br>
<br>
(Sample code to steal would be ideal; though functions to lookup<br>
suffices too.)<br>
<br>
Thanks!<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div>