[erlang-questions] HTTPS and Basic Authentication with Erlang

David Wright <>
Mon Feb 27 11:49:20 CET 2017


I installed cowboy on an Ubuntu VM and got the basics of what I was trying
to prove done in a short matter of time. I used the examples directory from
github and played with the code for a few hours.

Cowboy seems well documented but as a newbie I am a bit overwhelmed - I
reserve the right to ask more questions.

Thank you for your help.


On 16 February 2017 at 21:53, Loïc Hoguin <> wrote:

> On 02/16/2017 11:41 AM, Alex S. wrote:
>
>> To be fair, you both describe half of REST. Both interlinking *and* good
>> cache/method behaviour (which most browsers don’t rely upon, precisely
>> because WWW is not that RESTful) is required for a REST architecture.
>>
>
> I only mentioned the parts that are not taken care of by simply using
> HTTP. In other words the parts an implementor of a REST API/client should
> be aware of (otherwise they're not doing REST).
>
> I am not sure what you mean about browsers. Browsers do rely on and
> enforce cache rules. So do caching proxies. The Web wouldn't work without
> that.
>
> It is also fair to say that most homegrown protocols do not benefit from
>> hyperlinking, and weren’t made with REST in mind (and with vendor mime
>> types) precisely because of that.
>>
>
> There's no silver bullet. :-)
>
>
> --
> Loïc Hoguin
> https://ninenines.eu
>



-- 
David Gray Wright
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170227/a67c2d94/attachment.html>


More information about the erlang-questions mailing list