zhou-you / RxEasyHttp

本库是一款基于RxJava2+Retrofit2实现简单易用的网络请求框架,结合android平台特性的网络封装库,采用api链式调用一点到底,集成cookie管理,多种缓存模式,极简https配置,上传下载进度显示,请求错误自动重试,请求携带token、时间戳、签名sign动态配置,自动登录成功后请求重发功能,3种层次的参数设置默认全局局部,默认标准ApiResult同时可以支持自定义的数据结构,已经能满足现在的大部分网络请求。
Apache License 2.0
3.13k stars 616 forks source link

使用上传文件时返回too large too print #162

Closed xhbskeleton closed 5 years ago

xhbskeleton commented 5 years ago

使用demo中的上传文件请求时 2019-05-31 10:53:00.739 19528-19528/com.zhouyou.http.demo I/RxEasyHttp:RxUtil$2$2.accept(L:79): +++doOnSubscribe+++false 2019-05-31 10:53:00.745 19528-19548/com.zhouyou.http.demo I/RxEasyHttp: -------------------------------request------------------------------- 2019-05-31 10:53:00.746 19528-19548/com.zhouyou.http.demo I/RxEasyHttp: --> POST http://www.xxx.com/v1/user/uploadAvatar http/1.1 2019-05-31 10:53:00.747 19528-19548/com.zhouyou.http.demo I/RxEasyHttp: body: maybe [file part] , too large too print , ignored! 2019-05-31 10:53:00.747 19528-19548/com.zhouyou.http.demo I/RxEasyHttp: --> END POST