Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
KeRan213539 committed Jun 4, 2018
2 parents db17d4f + 6058bb1 commit 1e72505
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ maven引入:
<dependency>
<groupId>com.github.keran213539</groupId>
<artifactId>commonOkHttp</artifactId>
<version>0.2</version>
<version>0.3</version>
</dependency>
```

Expand Down Expand Up @@ -75,6 +75,6 @@ OkHttp,现在很火的一个Apache httpClient的替代品,说替代可能不太
文件上传(支持多文件)

## 关于测试
除了使用指定证书加解密数据的方式, 暂时没有条件测试,其他均已测试过,目前已知微信支付的退款需要使用这种方式,在上家公司做了微信支付,当时用的Apache HttpClient,之后会找机会测试
JUnit的测试中删除了部分在公网没有找到合适的测试环境的代码(部分测试环境我是在本机模拟的环境),如使用自签证书的,不安全的方式,上传等,大家可以自签个证书部署为https自测
代码中自定义信任证书的部分,删除了一些其他环境的证书,只保留了简书的证书作为代码示例
> Junit测试中的所有都已跑通
> JUnit的测试中删除了部分在公网没有找到合适的测试环境的代码(部分测试环境我是在本机模拟的环境),如使用自签证书的,不安全的方式,上传等,大家可以自签个证书部署为https自测
> 代码中自定义信任证书的部分,删除了一些其他环境的证书,只保留了简书的证书作为代码示例

0 comments on commit 1e72505

Please sign in to comment.