diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 8a910f6e..680ae776 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,4 +1,4 @@ -- Version : **6.0.0** +- Version : **6.0.8** - Operating System: diff --git a/response_writer.go b/response_writer.go index d46817f3..7bce18db 100644 --- a/response_writer.go +++ b/response_writer.go @@ -198,6 +198,7 @@ func (w *responseWriter) SetContentType(cType string) { // or clear those deadlines as needed. func (w *responseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) { if h, isHijacker := w.ResponseWriter.(http.Hijacker); isHijacker { + w.statusCodeSent = true return h.Hijack() }