> On Nov 10, 2014, at 11:15 AM,
u89...@gmail.com wrote:
>
> Hello, quick question, why doesn't calling http.Error not end the current request (in other words, how do I end the current request without having to specifically "return" from the dispatcher below)?
Calling http.Error doesn’t end the current request because the http package doesn’t hijack the control flow of your handler at any point. From when your handler gets called till when it returns, it is in full control of what happens. This is mostly a good thing, but it means that you need to take responsibility for exiting your handler when errors are found.