<div dir="ltr">Thanks for all the responses team. Just to put my requirements clear -<div><br></div><div>* File upload/download</div><div>* CORS - Better if this support can be configured.</div><div>* Websockets</div><div>* Dynamic web application</div><div>* Performance</div><div>* Embedding</div><div><br></div><div>Which is the best? Cowboy/Yaws/Mochiweb</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 16, 2015 at 12:21 AM, Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">They have different goals and states.<br>
<br>
Cowboy is young and still sees fairly large changes (in part to accomodate to newer protocols like HTTP/2 or Websocket compression, and in part because there are still usability issues). However from version 2 onward changes should be minimal for a while.<br>
<br>
Cowboy aims to support the core protocols for Web development, and nothing more. This means HTTP 1 and 2, SPDY, Websocket, and so on. It also includes a REST machine (adapted from Webmachine). The main focus is on REST and Websocket first.<br>
<br>
It does not include anything related to formats like JSON or HTML, enterprise protocols like RPC/SOAP/.. or anything related to XML, or Flash and so on.<br>
<br>
There's a constant effort on keeping things small and tidy, and providing functionality that covers 99% of users. The changes are user driven, with unused features happily removed while new features get added after detecting patterns in the many user questions I receive (but only if they are in the scope, of course).<br>
<br>
Hope that helps.<span class=""><br>
<br>
On 07/15/2015 08:04 PM, Kannan wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Which one is the best? Yaws or Cowboy? I could not find any comparison<br>
matrix on the internet.<br>
<br>
Thanks,<br>
Theepan<br>
<br>
On Wed, Jul 15, 2015 at 4:52 AM, Dmitry Belyaev <<a href="mailto:be.dmitry@gmail.com" target="_blank">be.dmitry@gmail.com</a><br></span><span class="">
<mailto:<a href="mailto:be.dmitry@gmail.com" target="_blank">be.dmitry@gmail.com</a>>> wrote:<br>
<br>
    Not out of the box. There is<br>
    <a href="https://github.com/danielwhite/cowboy_cors" rel="noreferrer" target="_blank">https://github.com/danielwhite/cowboy_cors</a> to do it.<br>
    --<br>
    Best wishes,<br>
    Dmitry Belyaev<br>
<br>
    On 15 July 2015 7:25:40 AM AEST, Radoslaw Gruchalski<br></span><span class="">
    <<a href="mailto:radek@gruchalski.com" target="_blank">radek@gruchalski.com</a> <mailto:<a href="mailto:radek@gruchalski.com" target="_blank">radek@gruchalski.com</a>>> wrote:<br>
<br>
        CORS is all based on headers. Cowboy can definitely do it.<br>
<br></span>
        Sent from Outlook <<a href="http://taps.io/outlookmobile" rel="noreferrer" target="_blank">http://taps.io/outlookmobile</a>><span class=""><br>
<br>
<br>
<br>
<br>
        On Tue, Jul 14, 2015 at 1:58 PM -0700, "Kannan"<br></span><span class="">
        <<a href="mailto:vasdeveloper@gmail.com" target="_blank">vasdeveloper@gmail.com</a> <mailto:<a href="mailto:vasdeveloper@gmail.com" target="_blank">vasdeveloper@gmail.com</a>>> wrote:<br>
<br>
            Hi Team,<br>
<br>
            Is there a Erlang HTTP server, including Yaws, that supports<br>
            CORS by configuration?<br>
<br>
            Regards,<br>
            Theepan<br>
<br></span>
        ------------------------------------------------------------------------<br>
<br>
        erlang-questions mailing list<br>
        <a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>  <mailto:<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>><br>
        <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<span class=""><br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
</span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Loïc Hoguin<br>
<a href="http://ninenines.eu" rel="noreferrer" target="_blank">http://ninenines.eu</a><br>
Author of The Erlanger Playbook,<br>
A book about software development using Erlang<br>
</font></span></blockquote></div><br></div>