frankqoqo8 commented on issue #235:
URL:
https://github.com/apache/apisix-java-plugin-runner/issues/235#issuecomment-1715330494
修正一下PostRequest的构造函数就行可以了:
public PostRequest(Req req) {
this.req = req;
this.status = req.status();
headers = new HashMap<>();
for (int i = 0; i < req.headersLength(); i++) {
TextEntry header = req.headers(i);
headers.put(header.name(), header.value());
}
}
--
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]