func (h *header) FlushHeaders() bool {
	if h.bodySent == true {
		log.Panic("Cannot send headers in middle of body")
		return false
	}
	if h.basicSent == false {
		h.sendBasics()
	}
	if h.Get("Content-Type") == "" {
		h.Set("Content-Type", "text/html;charset=utf-8")
	}
	if err := h.response.Header().Write(h.writer); err != nil {
		return false
	}
	var chunkSize = fmt.Sprintf("%x", 0)
	h.writer.WriteString(chunkSize + "\r\n" + "\r\n")
	h.writer.Writer.Flush()
	return true
}
FlushHeaders flushes Headers
package goexpress
import (
	"bufio"
	"fmt"
	"log"
	"net/http"
	"strconv"
)
type header struct {
	response   http.ResponseWriter
	request    *http.Request
	writer     *bufio.ReadWriter
	bodySent   bool
	basicSent  bool
	hasLength  bool
	StatusCode int
	ProtoMajor int
	ProtoMinor int
}
var statusCodeMap = map[int]string{
	200: "OK",
	201: "Created",
	202: "Accepted",
	204: "No Content",
	205: "Reset Content",
	206: "Partial Content",
	301: "Moved Permanently",
	302: "Found",
	304: "Not Modified",
	305: "Use Proxy",
	306: "Switch Proxy",
	307: "Temporary Redirect",
	308: "Permanent Redirect",
	400: "Bad Request",
	401: "Unauthorized",
	403: "Forbidden",
	404: "NOT FOUND",
	405: "Method Not Allowed",
	413: "Payload Too Large",
	414: "URI Too Long",
	500: "Internal Server Error",
	501: "Not Implemented",
	502: "Bad Gateway",
	503: "Service Unavailaible",
	504: "Gateway Timeout",
	505: "HTTP Version Not Supported",
}
func newHeader(response http.ResponseWriter, request *http.Request, writer *bufio.ReadWriter) *header {
	h := &header{}
	h.response = response
	h.request = request
	h.writer = writer
	h.bodySent = false
	h.basicSent = false
	h.ProtoMinor = 1
	h.ProtoMajor = 1
	return h
}
func (h *header) Set(key string, value string) Header {
	h.response.Header().Set(key, value)
	return h
}
func (h *header) Get(key string) string {
	return h.response.Header().Get(key)
}
func (h *header) GetRequestHeader(key string) []string {
	return h.request.Header[key]
}
func (h *header) Del(key string) Header {
	h.response.Header().Del(key)
	return h
}
func (h *header) SetLength(length *int) {
	h.response.Header().Set("Content-Length", strconv.Itoa(*length))
	h.hasLength = true
}