spacewander commented on issue #53: URL: https://github.com/apache/apisix-go-plugin-runner/issues/53#issuecomment-990716684
1. you can get/set the header via Request.Header, see https://pkg.go.dev/github.com/apache/[email protected]/pkg/http#Header 2. you can stop the request with headers, see https://github.com/apache/apisix-go-plugin-runner/blob/195bd64e4d0edeb471a43016f0c3f0dad59f86b9/cmd/go-runner/plugins/say.go#L61 3. currently, there is no way to set response header without stopping the request (the `core.response.set_header(k, v)` in your example). Maybe you can open an issue to track it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
