Format the error header like in waffik
@@ -64,7 +64,7 @@ func NewTemplate(mime string, src []byte) (*Template, error) {
func (t *Template) ServeError(errCode Code) http.Handler {
return http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
rw.Header().Set("Content-Type", t.mime)
- rw.Header().Set("Couper-Error", fmt.Sprintf(`"%d" - %s`, errCode, errCode))
+ rw.Header().Set("Couper-Error", fmt.Sprintf("%d - %q", errCode, errCode))
status := httpStatus(errCode)
rw.WriteHeader(status)
