Tag: OkHttpClient

  • OkHttpClient – Get real request/response headers log

    Request headers:

    I: .Sending request http://www.some_site.com/some_file.js Headers:
    Host: www.some_site.com
    Connection: Keep-Alive
    Accept-Encoding: gzip
    User-Agent: okhttp/3.8.1
    If-Modified-Since: Thu, 14 Sep 2017 11:35:41 GMT

    Response headers:

    I: . 200 – OK => Received networkResponse for http://www.some_site.com/some_file.js in 141.2ms
    (more…)