spacewander commented on issue #993:
URL: https://github.com/apache/dubbo-go/issues/993#issuecomment-795100446


   My bad! My previous word is confusing.
   
   The response body needs to be a map. This map should contain status and body 
and other headers. The map should be something like this:
   ```
   status: 200 // map to HTTP status
   header1: value
   header2: value
   body: blahblah // map to HTTP body
   ```
   
   You can take a look at: 
https://github.com/api7/mod_dubbo/blob/3f7034ac607d7caf85b8d3b74f2e80842e0ea717/ngx_http_dubbo_module.c#L1371


----------------------------------------------------------------
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]

Reply via email to