diff options
Diffstat (limited to 'archives/extend/attachments/20130520/3cc045e8/attachment.html')
-rw-r--r-- | archives/extend/attachments/20130520/3cc045e8/attachment.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/archives/extend/attachments/20130520/3cc045e8/attachment.html b/archives/extend/attachments/20130520/3cc045e8/attachment.html new file mode 100644 index 00000000..bbb81bf6 --- /dev/null +++ b/archives/extend/attachments/20130520/3cc045e8/attachment.html @@ -0,0 +1,9 @@ +<tt> +<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 19, 2013 at 10:01 PM, Eduardo Gurgel <span dir="ltr"><<a href="mailto:[email protected]" target="_blank">[email protected]</a>></span> wrote:<br><br> +<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I want to write a cowboy middleware that works only on non-websocket requests. How can I achieve this? Is there any way that I ask the Request if this is a websocket request?<br><br> +<br></div></blockquote><div><br></div><div style>Thinking about my question, I see that the middleware (if it's behind the cowboy_handler) can't figure if the connection will be upgraded or not.�</div><div style><br><br> +</div><div style>Still, it would be cool if I could select which routes will be applied to my middleware.�</div><div style><br></div><div style>Am I making any sense? :)</div></div><div><br></div>-- <br><div dir="ltr">Eduardo<br><br> +</div><br> +</div></div><br> + +</tt> |