in src/main/java/com/aliyun/tea/TeaResponse.java [25:36]
public TeaResponse(Response response) {
headers = new HashMap<String, String>();
this.response = response;
statusCode = response.code();
statusMessage = response.message();
body = response.body().byteStream();
Headers headers = response.headers();
Map<String, List<String>> resultHeaders = headers.toMultimap();
for (Map.Entry<String, List<String>> entry : resultHeaders.entrySet()) {
this.headers.put(entry.getKey(), StringUtils.join(";", entry.getValue()));
}
}