1. 程式人生 > >Retrofit2 Post 亂碼問題

Retrofit2 Post 亂碼問題

08-30 01:35:15.565 3144-3161/com.king.retrofittest D/OkHttp: <-- 200 OK http://115.28.12.182:8080/beehive/rest/user/test1/setDeviceName (1454ms)
08-30 01:35:15.565 3144-3161/com.king.retrofittest D/OkHttp: Server: Apache-Coyote/1.1
08-30 01:35:15.565 3144-3161/com.king.retrofittest D/OkHttp: Content-Type: */*;charset=UTF-8

08-30 01:35:15.565 3144-3161/com.king.retrofittest D/OkHttp: Content-Length: 4
08-30 01:35:15.565 3144-3161/com.king.retrofittest D/OkHttp: Date: Tue, 30 Aug 2016 05:35:14 GMT
08-30 01:35:15.565 3144-3161/com.king.retrofittest D/OkHttp: true
08-30 01:35:15.565 3144-3161/com.king.retrofittest D/OkHttp: <-- END HTTP (4-byte body)