diff --git a/goanna/response.go b/goanna/response.go
index <HASH>..<HASH> 100644
--- a/goanna/response.go
+++ b/goanna/response.go
@@ -17,6 +17,7 @@ type Response interface {
 	SetCookie(http.Cookie)
 	ClearCookie(string)
 	GetStatusCode() int
+	Headers() http.Header
 }
 
 type OkResponse struct {
@@ -39,6 +40,10 @@ func NewStringResponse(content string) Response {
 	return response
 }
 
+func (r *OkResponse) Headers() http.Header {
+	return r.Header
+}
+
 func (r *OkResponse) SetCookie(cookie http.Cookie) {
 	r.Cookies = append(r.Cookies, cookie)
 }
@@ -101,6 +106,7 @@ func NewErrorResponse(message string, code int) *ErrorResponse {
 }
 
 func (r *ErrorResponse) Send(w http.ResponseWriter) {
+	r.SendHeaders(w)
 	http.Error(w, r.Message, r.Code)
 	r.SetNoCache()
 }
ErrorResponses should send headers