jwilson
02d6b4e78c
Drop the get prefix on Connection accessors.
2015-12-21 21:10:48 -05:00
jwilson
c9a89876de
Rename com.squareup.okhttp to okhttp3
...
Maven group changes will come in follow up.
2015-12-16 01:34:59 -05:00
Jake Wharton
c642bea938
Remove Request#urlString(), just use url().toString().
2015-12-15 00:33:09 -05:00
Adam Stroud
062bb14365
Add URL to HTTP response logging
...
Add the URL to the HTTP response when it is logged in the same manner
that the URL is added to the request logging. The added logging adds
some additional clarity when reading logs that contain many
request/response pairs.
2015-12-14 15:29:52 -05:00
Jake Wharton
93d547dcda
Make HttpUrl the blessed URL method of Request.
2015-12-14 15:11:48 -05:00
jwilson
c071f6fef4
Don't log gzipped data. It isn't human readable.
2015-12-04 22:47:08 -05:00
Jesse Wilson
f8bb4f1420
Merge pull request #2038 from square/jw/getter
...
Log level getter.
2015-11-24 22:43:53 -05:00
Jake Wharton
ebb0003968
Log the full URL.
2015-11-24 22:20:41 -05:00
Jake Wharton
0fae6bbb50
Log level getter.
2015-11-24 22:14:12 -05:00
Jake Wharton
8396d21dfa
Force logging of headers from the request body.
2015-11-24 20:45:51 -05:00
Jake Wharton
b93104c9e6
Support 204 and 205 'No Content' replies when application interceptor.
2015-11-24 20:28:27 -05:00
Artem Zinnatullin
ee1dee1322
Add null check to HttpLoggingInterceptor.setLevel()
2015-11-23 05:35:43 +03:00
Artem Zinnatullin
c664d1864b
Return this from HttpLoggingInterceptor.setLevel()
2015-11-23 00:29:06 +03:00
Jake Wharton
75e69c3f49
Remove double-clone of Buffer.
2015-10-19 17:45:24 -04:00
Jake Wharton
8a7516cc66
Remove the need for an explicit Content-Length header to log response body.
...
This allows chunked responses with no specified length to be logged and have their size reported correctly.
2015-10-19 17:42:18 -04:00
Jake Wharton
43be47da69
Use clever buffer/clone trick for duplicate response body.
2015-10-09 11:12:08 -04:00
Jake Wharton
1f0cb4e6b6
Add logging interceptor for simple request and response logging.
2015-09-26 13:59:36 -04:00