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

97 Commits

Author SHA1 Message Date
jwilson
358d96c5fb [maven-release-plugin] prepare release parent-3.3.1 2016-05-28 14:11:52 -04:00
jwilson
16aed96a35 [maven-release-plugin] prepare for next development iteration 2016-05-24 22:12:31 -04:00
jwilson
b031042e67 [maven-release-plugin] prepare release parent-3.3.0 2016-05-24 22:12:28 -04:00
jwilson
c293aecd28 [maven-release-plugin] prepare for next development iteration 2016-02-25 20:54:11 -05:00
jwilson
14eb077351 [maven-release-plugin] prepare release parent-3.2.0 2016-02-25 20:54:08 -05:00
jwilson
ac4aea6a52 [maven-release-plugin] prepare for next development iteration 2016-02-10 08:37:54 -05:00
jwilson
9aa5e87a2c [maven-release-plugin] prepare release parent-3.1.2 2016-02-10 08:37:52 -05:00
jwilson
ef1dbe1297 [maven-release-plugin] prepare for next development iteration 2016-02-07 22:10:22 -05:00
jwilson
0cd6b186b1 [maven-release-plugin] prepare release parent-3.1.1 2016-02-07 22:10:19 -05:00
jwilson
50395f9b6a [maven-release-plugin] prepare for next development iteration 2016-02-06 12:59:27 -05:00
jwilson
519ec8adca [maven-release-plugin] prepare release parent-3.1.0 2016-02-06 12:59:23 -05:00
jwilson
9b0706489c [maven-release-plugin] prepare for next development iteration 2016-01-14 16:03:12 -08:00
jwilson
bdbb3ad03c [maven-release-plugin] prepare release parent-3.0.1 2016-01-14 16:03:08 -08:00
jwilson
c4dc8725fb Revert "Make OkHttp OSGi ready"
This reverts commit 2b29196ee2.
2016-01-14 15:44:21 -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 2016-01-13 14:12:09 -08:00
lburgazzoli
2b29196ee2 Make OkHttp OSGi ready 2016-01-05 09:22:11 +01: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 2016-01-02 02:31:14 -05:00
jwilson
21d6303418 Restore no-args constructor for OkHttpClient.
This is a popular API and keeping it working is handy.
2016-01-01 15:22:14 -05:00
jwilson
38d570a6b2 Drop get and set prefixes in OkHttpClient, OkHttpClient.Builder 2016-01-01 12:12:35 -05:00
jwilson
f2461183e8 Refactor towards an OkHttpClient.Builder.
Still some work to do on method naming, but this was the interesting part.
Also very much need to rename OkUrlFactory in tests to urlFactory, otherwise
the client.client stuff becomes madness.
2016-01-01 10:55:32 -05:00
jwilson
98ae0fb92c Sort imports and wrap documentation at 100 columns.
This is a mechanical refactoring. The only thing I had trouble with is IntelliJ's
weak support for <ul> tags in Javadoc.
2015-12-23 19:34:28 -05:00
jwilson
ce3e7c40ff Change groupid to com.squareup.okhttp3. 2015-12-16 19:40: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
f8923a4766 Deprecate the Apache shim. 2015-12-14 22:42:32 -05:00
jwilson
68e3fbb0a3 Fix some breaks calling obsolete APIs. 2015-12-13 22:39:30 -05:00
jwilson
b809280b16 [maven-release-plugin] prepare for next development iteration 2015-12-13 20:35:30 -05:00
jwilson
a36b1fb73c [maven-release-plugin] prepare release parent-2.7.0 2015-12-13 20:35:26 -05:00
jwilson
94ca8566b2 [maven-release-plugin] prepare for next development iteration 2015-11-22 12:30:35 -05:00
jwilson
d0a381edc1 [maven-release-plugin] prepare release parent-2.6.0 2015-11-22 12:30:31 -05:00
jwilson
8efaead13d [maven-release-plugin] prepare for next development iteration 2015-08-25 21:11:25 -04:00
jwilson
f36bed41a8 [maven-release-plugin] prepare release parent-2.5.0 2015-08-25 21:11:22 -04:00
jwilson
d6be7545e6 [maven-release-plugin] prepare for next development iteration 2015-05-22 19:47:49 -04:00
jwilson
7298bee253 [maven-release-plugin] prepare release parent-2.4.0 2015-05-22 19:47:47 -04:00
jwilson
a96c439a91 [maven-release-plugin] prepare for next development iteration 2015-05-16 17:03:20 -04:00
jwilson
5cc7dba3ad [maven-release-plugin] prepare release parent-2.4.0-RC1 2015-05-16 17:03:16 -04:00
Noriyoshi Fukuzaki
9235529746 Allow an empty PUT and POST to keep compatibility
commit d36da22271054ea84b5f6a5b182042a3476696bc
Author: Noriyoshi Fukuzaki <noriyoshi.fukuzaki@kii.com>
Date:   Fri May 1 13:14:39 2015 +0900

    reverted a code formatting

commit 80c7e2da23cdc9be90ff208f609c5ba5f0a5a394
Author: Noriyoshi Fukuzaki <noriyoshi.fukuzaki@kii.com>
Date:   Sat Apr 25 21:22:43 2015 +0900

    added assertion code

commit 198f55778241f20b0e3de2f4d56e8aea38c4c934
Author: Noriyoshi Fukuzaki <noriyoshi.fukuzaki@kii.com>
Date:   Fri Apr 24 16:38:47 2015 +0900

    Allow an empty PUT and POST to keep compatibility
2015-05-10 10:56:11 -04:00
Jesse Wilson
c8bd6f834d Merge pull request #1555 from nfuller/AggressiveUncaughtExceptionHandler
Install an UncaughtExceptionHandler during tests
2015-05-01 10:54:41 -04:00
Jake Wharton
9b8ea972bf Add a test for case insensitive content type matching. 2015-04-17 10:30:39 -04:00
Noriyoshi Fukuzaki
8bce6897f9 fixed a bug that content type is compared by case sensitive 2015-04-17 15:54:10 +09:00
Neil Fuller
4e08085cc8 Install an UncaughtExceptionHandler during tests
This is to make the tests more brittle around uncaught exceptions
as they are on Android. No uncaught exceptions should escape.
2015-04-14 16:55:26 +01:00
jwilson
0237d3c3f2 [maven-release-plugin] prepare for next development iteration 2015-03-16 22:28:12 -04:00
jwilson
c49eedeba3 [maven-release-plugin] prepare release parent-2.3.0 2015-03-16 22:28:09 -04:00
Neil Fuller
6ca86d4de1 Source-incompatible: ResponseBody methods throw IOException
This is a binary-compatible change, but code that currently calls
ResponseBody [contentLength()|byteStream()|source()|charStream()]
that doesn't necessarily catch or declare IOException will need
to with this change.

These methods could be performing I/O (opening streams, etc.).
Throwing IOException seems reasonable in this case.

contentType() and charset() have not been changed.
2015-01-09 15:32:24 +00:00
Jake Wharton
5355762a6f Rename play to start. 2015-01-04 23:17:42 -08:00
Jake Wharton
8b6aa0dca5 Use a Buffer for body contents. 2015-01-02 14:03:25 -08:00
Jesse Wilson
1d86439e90 [maven-release-plugin] prepare for next development iteration 2014-12-30 21:52:35 -05:00
Jesse Wilson
6aef5ab3c5 [maven-release-plugin] prepare release parent-2.2.0 2014-12-30 21:52:33 -05:00
Jake Wharton
15c81fdfc2 Normalize caching size in loop-local variable.
This was present in a bunch of loops, but not all and not consistently. After fixing two, I figured that I would normalize them all under the umbrella of uniformity and being lazy (only lookup up the value once if it never changes).
2014-12-24 11:33:14 -08:00