mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 12:47:28 +08:00
Disable reroute in some plugins (#2639)
This commit is contained in:
@@ -95,6 +95,7 @@ func parseConfig(json gjson.Result, config *AIRagConfig, log log.Log) error {
|
||||
}
|
||||
|
||||
func onHttpRequestHeaders(ctx wrapper.HttpContext, config AIRagConfig, log log.Log) types.Action {
|
||||
ctx.DisableReroute()
|
||||
proxywasm.RemoveHttpRequestHeader("content-length")
|
||||
return types.ActionContinue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user