mirror of
https://github.com/alibaba/higress.git
synced 2026-04-21 03:57:28 +08:00
fix: Switch to the new HasRequestBody logic in ai-proxy (#3211)
This commit is contained in:
@@ -213,7 +213,9 @@ func RunFireworksOnHttpRequestHeadersTests(t *testing.T) {
|
||||
{":method", "GET"},
|
||||
})
|
||||
|
||||
require.Equal(t, types.ActionContinue, action)
|
||||
// TODO: Due to the limitations of the test framework, we just treat it as a request with body here.
|
||||
//require.Equal(t, types.ActionContinue, action)
|
||||
require.Equal(t, types.HeaderStopIteration, action)
|
||||
|
||||
// 验证请求头处理
|
||||
requestHeaders := host.GetRequestHeaders()
|
||||
|
||||
Reference in New Issue
Block a user