logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

okhttp3+retrofit2进行HTTP请求以及设置请求超时示例

采用retrofit2本身可以进行优雅的RESTFul请求,但是无法设置请求超时时间,需要配合okhttp3来设置请求超时.

#java#retrofit#okhttp
Nginx获取自定义头部header的值

Nginx读取自定义header在参考了资料:http://stackoverflow.com/questions/8393772/how-to-get-non-standard-http-headers-on-nginxhttp://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headersh

#nginx
到底了