endison1986 commented on issue #5579: URL: https://github.com/apache/apisix/issues/5579#issuecomment-976339564
> @endison1986 As per the API description: > > > The jump argument can only be set to true in rewrite_by_lua. > > And the rewrite hook actually run on access phase. My understanding from openresty document is `ngx.req.set_uri(uri, jump?)` is rewrite uri, and jump only can set true in rewrite phase, but I always thought that `_M.rewrite` is in rewrite phase, until the developers of openresty told me that's not the case. https://github.com/openresty/openresty/issues/787 -- 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]
