<div dir="ltr">Ok, got it.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 21, 2013 at 10:44 PM, 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"><div class="im">On 01/21/2013 07:36 PM, Max Lapshin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What is the best way to add http authorization before cowboy_static?<br>
</blockquote>
<br></div>
This, probably.<br>
<br>
<a href="https://github.com/extend/cowboy/blob/master/guide/middlewares.md" target="_blank">https://github.com/extend/<u></u>cowboy/blob/master/guide/<u></u>middlewares.md</a><span class="HOEnZb"><font color="#888888"><br>

<br>
-- <br>
Loďc Hoguin<br>
Erlang Cowboy<br>
Nine Nines<br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br>
</font></span></blockquote></div><br></div>