On Tuesday, 4 July 2023 at 17:39:05 UTC+2 Gurunandan Bhat wrote:

Every example of http Handler that I have seen so far looks like this:

This is very strange as basically all correct http Handlers I have
seen in the last 10 years actually do return after http.Error.

If all examples of http Handler you have seen continue (and
even send on w) after http.Error you should reconsider the
source(s) of your examples. This seems more to be a question
about the quality of the examples you consult than on what to
do after http.Error.

V.
 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/c4a14876-a145-41bb-af71-c8cd8502daa9n%40googlegroups.com.

Reply via email to