You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/03/06 11:07:33 UTC

[GitHub] [servicecomb-java-chassis] xhanthow opened a new issue #1624: 通过edge访问返回response content-type application/json; charset=utf-8 is not supported

xhanthow opened a new issue #1624: 通过edge访问返回response content-type application/json; charset=utf-8 is not supported
URL: https://github.com/apache/servicecomb-java-chassis/issues/1624
 
 
   通过edge访问一个接口,返回`{
       "message": "method POST, path xxx statusCode 200, reasonPhrase OK, response content-type application/json; charset=utf-8 is not supported"
   }`,返回码为400,如果直接访问返回`{
       "result": {
           "code": 200,
           "message": "xxx"
       }
   }`

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [servicecomb-java-chassis] xhanthow commented on issue #1624: 通过edge访问返回response content-type application/json; charset=utf-8 is not supported

Posted by GitBox <gi...@apache.org>.
xhanthow commented on issue #1624: 通过edge访问返回response content-type application/json; charset=utf-8 is not supported
URL: https://github.com/apache/servicecomb-java-chassis/issues/1624#issuecomment-595723550
 
 
   经过观察发现,契约定义的返回为void。。这种情况有什么好的方法避免么
   ![image](https://user-images.githubusercontent.com/7291995/76079181-1ac9cd00-5fdf-11ea-9e10-6d3ab7329ecd.png)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [servicecomb-java-chassis] heyile commented on issue #1624: 通过edge访问返回response content-type application/json; charset=utf-8 is not supported

Posted by GitBox <gi...@apache.org>.
heyile commented on issue #1624: 通过edge访问返回response content-type application/json; charset=utf-8 is not supported
URL: https://github.com/apache/servicecomb-java-chassis/issues/1624#issuecomment-599857907
 
 
   给一个demo吧. 看的不是很明白. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services