rockXiaofeng commented on issue #993: URL: https://github.com/apache/dubbo-go/issues/993#issuecomment-795086471
> > dubbo: parse result map failed > > The response body needs to be a map. Will you give it a try after converting string to map? okay, when i changed the response string to map, there are no output logs in the apisix error_log, but i still got the HTTP/1.1 502 Bad Gateway in the console: ``` HTTP/1.1 502 Bad Gateway Date: Wed, 10 Mar 2021 08:29:50 GMT Content-Type: text/plain; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive demo: test Server: APISIX/2.3 X-APISIX-Upstream-Status: 502 ``` and u can see the header 'demo: test' , it is the map value returned by the provider. Why it is in the response header? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
