diff --git a/controller/http/new_request_handler_wrapper.go b/controller/http/new_request_handler_wrapper.go index a0b2cad..87bdfcf 100644 --- a/controller/http/new_request_handler_wrapper.go +++ b/controller/http/new_request_handler_wrapper.go @@ -33,6 +33,7 @@ func newRequestHandlerWrapper(runtime runtimepkg.Runtime, handler func(*runtimep response := &runtimepkg.Response{} response.RequestID = id + response.Header = make(map[string][]string) request := &runtimepkg.Request{ Body: body, Header: req.Header, diff --git a/runtime.go b/runtime.go index dca6929..50440da 100644 --- a/runtime.go +++ b/runtime.go @@ -7,4 +7,4 @@ import ( type Runtime interface { Init() error CreateExecutor(*Request) (executor.Executor, error) -} +} \ No newline at end of file