thinkdb1 commented on issue #148: URL: https://github.com/apache/apisix-go-plugin-runner/issues/148#issuecomment-1813882552
我最近实验修改重写body时,获得一点思路,虽然没有实验希望可以帮到你: 在apisix-core-with-plugin/internal/http/request.go中的(r *Request) FetchChanges(id uint32, builder *flatbuffers.Builder)的方法里面的hrc.RewriteStart(builder)下面,添加hrc.ReqAddMethod()这个方法,是不是可以实现重写method的方法,因为我加入hrc.RewriteAddBody这个方法后,可以重写body。当然前面要自己定义相关判断是否修改method -- 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]
