1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-17 08:42:25 +03:00
Commit Graph

2344 Commits

Author SHA1 Message Date
jwilson
bdbb3ad03c [maven-release-plugin] prepare release parent-3.0.1 parent-3.0.1 2016-01-14 16:03:08 -08:00
jwilson
ae72120d9f Update changelog and readme for 3.0.1. 2016-01-14 16:00:20 -08:00
Jesse Wilson
6dce584b96 Merge pull request #2246 from square/jwilson_0114_fucking_osgi
Revert "Make OkHttp OSGi ready"
2016-01-14 15:57:54 -08:00
jwilson
c4dc8725fb Revert "Make OkHttp OSGi ready"
This reverts commit 2b29196ee2.
2016-01-14 15:44:21 -08:00
Jesse Wilson
055aff6520 Merge pull request #2244 from pforhan/master
Tweak error copy, add a couple tests
2016-01-14 15:26:58 -08:00
Patrick Forhan
efbbb47626 Tweak error copy, add a couple tests 2016-01-14 14:12:57 -06:00
Jake Wharton
396afbe490 Merge pull request #2241 from tasomaniac/patch-1
Update README.md to include okhttp3
2016-01-14 07:09:47 -08:00
Said Tahsin Dane
f1bd94b971 Update README.md 2016-01-14 16:03:53 +02:00
jwilson
5787300956 Update changelog for OkHttp 3.0. 2016-01-13 22:51:35 -08:00
jwilson
2dc79e01e1 [maven-release-plugin] prepare for next development iteration 2016-01-13 14:12:19 -08:00
jwilson
c9b812a4ab [maven-release-plugin] prepare release parent-3.0.0 parent-3.0.0 2016-01-13 14:12:09 -08:00
Jesse Wilson
00322de556 Merge pull request #2207 from square/jwilson_0106_cooookies
Test that JavaNetCookieJar can handle multiple cookies.
2016-01-13 14:08:01 -08:00
jwilson
87e905170f Test that JavaNetCookieJar can handle multiple cookies.
See https://github.com/square/okhttp/issues/2202
2016-01-13 14:04:00 -08:00
Jesse Wilson
8def52425e Merge pull request #2235 from square/jwilson_0113_cookies_
Parse the CookieHandler request cookies in JavaNetCookieJar.
2016-01-13 14:02:08 -08:00
jwilson
ed43e07ffb Parse the CookieHandler request cookies in JavaNetCookieJar.
This brings the tests to all pass on Android.

Closes: https://github.com/square/okhttp/issues/2202
2016-01-13 13:48:38 -08:00
Jesse Wilson
bc7d110990 Merge pull request #2224 from square/jw/mock-reason
Change default mock reason.
2016-01-11 17:48:13 -08:00
Jake Wharton
ef1381f11b Merge pull request #2227 from square/jwilson_0111_callback_takes_call
Change Callback to take a Call.
2016-01-11 15:48:54 -08:00
jwilson
8ff3725031 Change Callback to take a Call.
This makes it much easier to test if the call was canceled.

Note that the Call's request is always the original user request.
This is different than the previous request that was passed in, as
that could have been the follow up to a redirect.
2016-01-11 15:40:28 -08:00
Jake Wharton
2d2adbf4e1 Merge pull request #2226 from square/jwilson_0111_dont_leak
Don't leak file handles when a conditional GET throws.
2016-01-11 10:12:48 -08:00
jwilson
b8c5938ed4 Don't leak file handles when a conditional GET throws. 2016-01-11 10:04:53 -08:00
Jake Wharton
77347b8348 Change default mock reason. 2016-01-11 09:38:49 -08:00
Jesse Wilson
b113b43d27 Merge pull request #2220 from jgilfelt/log-interceptor-fix
Logging Interceptor - Use charset specified by the request body content type
2016-01-09 13:29:11 -05:00
Jeff Gilfelt
bf6c11f753 Use charset specified by the request body content type 2016-01-09 11:50:41 +00:00
Jesse Wilson
c0c55cee67 Merge pull request #2215 from ChristianBecker/patch-1
Fix order of releases
2016-01-08 07:51:13 -05:00
Christian Becker
a6ac18871f Fix order of releases 2016-01-08 08:27:06 +01:00
jwilson
aff3051d57 Update changelog for 2.7.2. 2016-01-08 00:36:04 -05:00
Jesse Wilson
43fe6535e1 Merge pull request #2212 from moltak/patch-1
Update okhttp-loggin-interceptor
2016-01-07 23:53:11 -05:00
Jung KyungHo
469c063135 Update okhttp-loggin-interceptor
I found missed version. It must to include the okhttp '3' on dependency of gradle.
2016-01-08 13:40:40 +09:00
Jesse Wilson
751481ae2a Merge pull request #2211 from moltak/master
Update okhttp-logging-interceptor README.md
2016-01-07 22:13:52 -05:00
Jung KyungHo
46d0edf4a4 Update okhttp-logging-interceptor README.md
Change how to use on okhttp-loging-interceptor's README.md
2016-01-08 10:54:42 +09:00
Jake Wharton
ca8b38ebc1 Merge pull request #2208 from square/jwilson_0106_no_need
Don't eagerly release pools on cache hits.
2016-01-06 21:59:17 -05:00
jwilson
3759531b03 Don't eagerly release pools on cache hits.
We might still need them to handle a redirect.

Closes: https://github.com/square/okhttp/issues/2198
2016-01-06 21:52:05 -05:00
Jesse Wilson
3774437890 Merge pull request #2192 from lburgazzoli/okhttp-osgi
Make OkHttp OSGi ready
2016-01-06 00:32:38 -05:00
lburgazzoli
2b29196ee2 Make OkHttp OSGi ready 2016-01-05 09:22:11 +01:00
Jesse Wilson
909544ba3d Merge pull request #2197 from austynmahoney/am/fix/2196-immutable-interceptors-okhttpclient
Javadoc fix for immutable Interceptors in OkHttpClient
2016-01-04 22:27:53 -05:00
Jake Wharton
7e69134726 Merge pull request #2188 from square/jwilson_0102_promote_cookiejar
Promote JavaNetCookieJar to a public package.
2016-01-04 14:14:29 -05:00
austynmahoney
0ea60aeaa3 Javadoc fix for immutable Interceptors in OkHttpClient 2016-01-04 11:33:40 -07:00
Jesse Wilson
e072e4dfe5 Merge pull request #2195 from square/jw/handle-unknown-body-lengths
Handle unknown content lengths.
2016-01-04 13:23:40 -05:00
Jake Wharton
8ee07e13d3 Handle unknown content lengths. 2016-01-04 13:10:46 -05:00
Jesse Wilson
20653ad0e1 Merge pull request #2189 from square/jw/interfaces
Add already-implemented interfaces Closeable and Flushable to the cache.
2016-01-03 09:13:02 -05:00
Jake Wharton
d662c1a828 Add already-implemented interfaces Closeable and Flushable to the cache. 2016-01-03 02:41:45 -05:00
jwilson
7f4ce6fdd7 Promote JavaNetCookieJar to a public package. 2016-01-03 01:39:20 -05:00
Jesse Wilson
c9080f14f3 Replace "and SPDY" with "and HTTP/2". 2016-01-02 09:43:21 -05:00
jwilson
d0c7fd06bf Update website to link to OkHttp 3.x Javadoc. 2016-01-02 09:37:59 -05:00
jwilson
a2d9f7cfa9 Adjust documentation for OkHttp 3. 2016-01-02 09:34:47 -05:00
jwilson
6d1a0b4f96 [maven-release-plugin] prepare for next development iteration 2016-01-02 02:31:17 -05:00
jwilson
ffc35dbd02 [maven-release-plugin] prepare release parent-3.0.0-RC1 parent-3.0.0-RC1 2016-01-02 02:31:14 -05:00
Jake Wharton
ee83d8d26a Merge pull request #2185 from square/jwilson_0101_api_ergonomics
Detect API use errors earlier.
2016-01-02 02:13:16 -05:00
Jake Wharton
c73dfc3aa1 Merge pull request #2187 from square/jwilson_0102_fix_some_get_prefixes
Fix some get prefixes on Cache and ConnectionPool.
2016-01-02 02:12:47 -05:00
jwilson
5adcbdb4cc Add a note that Call.cancel() still works. 2016-01-02 02:12:06 -05:00