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 2019/06/18 11:20:17 UTC

[GitHub] [servicecomb-java-chassis] yhs0092 commented on a change in pull request #1229: [SCB-1305] CseAysncRestTemplate is not set headers

yhs0092 commented on a change in pull request #1229: [SCB-1305] CseAysncRestTemplate is not set headers
URL: https://github.com/apache/servicecomb-java-chassis/pull/1229#discussion_r294738284
 
 

 ##########
 File path: providers/provider-springmvc/src/test/java/org/apache/servicecomb/provider/springmvc/reference/TestCseClientHttpRequest.java
 ##########
 @@ -84,7 +85,10 @@ protected Response doInvoke(Invocation invocation) {
           }
         };
     byte[] body = "abc".getBytes();
+    HttpHeaders headers = new HttpHeaders();
+    headers.add("token", "123");
     client.setRequestBody(body);
+    client.setHttpHeaders(headers);
 
 Review comment:
   Hello, do you forget to check the test result?

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