[erlang-questions] Cowboy: is it possible to detect that request is http and redirect to https?

Max Lapshin <>
Thu Feb 27 17:43:00 CET 2014

Yes, such smart things by guessing if first bytes are http or ssl.

But there is no gen_tcp:unrecv :(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140227/e6abfdcd/attachment.html>

More information about the erlang-questions mailing list