spacewander commented on PR #8587: URL: https://github.com/apache/apisix/pull/8587#issuecomment-1371808519
> @spacewander I saw the CI failed due to this line, 121 : `local accept_header = core_request.header(ctx, "Accept")` Because `ctx` is 'not defined' Wich is true, but it works, i am a beginner in .lua so maybe there is something i am missing. > > To have the correct syntax should we add the `ctx `parameter to the method resp_exit ? I think a bit it seems that there is no better way to do it. It's OK to add the parameter. -- 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org