摘要:
一、说明 官方原文如下: We hope the division between android.* and androidx.* makes it more obvious which APIs are bundled with the platform, and which are stati 阅读全文
posted @ 2018-10-17 16:45
灰色飘零
阅读(1038)
评论(0)
推荐(2)
摘要:
我们知道OkHttp走的并不是原生的http请求,因此在header里面并没有真正的User-Agent,而是“okhttp/版本号”这样的字符串,因为后台需要统计信息,要求传入正确的User-Agent,那么我们如何获取User-Agent并设置给Okhttp呢? 一、获取User-Agent p 阅读全文
posted @ 2018-10-17 16:13
灰色飘零
阅读(10081)
评论(0)
推荐(2)

浙公网安备 33010602011771号