Wangren725 opened a new issue #1999:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1999
尝试使用如下方式将第三方REST服务注册为一个服务然后使用rpc调用:
```java
@POST
@Path("/rest.php")
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response =
String.class),
@ApiResponse(code = 302, message = "location", responseHeaders =
{@ResponseHeader(name = "location", response = String.class)})
})
CompletableFuture<ResponseEntity<String>> verify(xxx);
```
但是调用结果是一个异常,且响应体为null(可能是因为响应体本身为空)。
是否有方法能够让rpc调用获取到location头的优雅方法?
----------------------------------------------------------------
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]