Jesse Wilson
e41424d00e
Fix another Error Prone bad timezone error ( #4038 )
2018-05-30 08:15:40 +01:00
Jesse Wilson
e86eb0e48b
[maven-release-plugin] prepare for next development iteration
2018-02-24 13:33:57 -05:00
Jesse Wilson
c0739a4199
[maven-release-plugin] prepare release parent-3.10.0
2018-02-24 13:33:52 -05:00
Yuri Schimke
14215b8b3f
cleanup travis output ( #3853 )
2018-02-17 09:25:41 -05:00
Jesse Wilson
d0418379a7
Move MockWebServer's internal package to not collide with OkHttp's. ( #3837 )
...
Hoping this may prevent problems with the Java Platform Module System.
2018-02-09 06:20:57 +00:00
Yuri Schimke
d27531afa9
Use manifest entry for java 9 module name ( #3743 )
...
* Use manifest entry for java 9 module name
* add group
* specific names
* Update pom.xml
* Update pom.xml
* Update pom.xml
* Update pom.xml
* Update pom.xml
* Update pom.xml
* Update pom.xml
* Update pom.xml
2018-02-04 03:02:20 -05:00
Jesse Wilson
2bb2dc4340
[maven-release-plugin] prepare for next development iteration
2017-11-18 14:38:02 -05:00
Jesse Wilson
23b6f7556d
[maven-release-plugin] prepare release parent-3.9.1
2017-11-18 14:37:50 -05:00
jwilson
51311219af
[maven-release-plugin] prepare for next development iteration
2017-09-04 17:00:21 -04:00
jwilson
51663fd08f
[maven-release-plugin] prepare release parent-3.9.0
2017-09-04 17:00:16 -04:00
jwilson
304d2c9630
[maven-release-plugin] prepare for next development iteration
2017-05-13 10:58:15 -04:00
jwilson
cb981daecf
[maven-release-plugin] prepare release parent-3.8.0
2017-05-13 10:58:04 -04:00
jwilson
e7e22feb12
Fix Javadoc builds with the jsr305 dependency.
...
Because multiple modules share a package we need to share the dependency on
everything in package-info.java.
2017-05-13 10:51:29 -04:00
jwilson
83b9dd4275
Upgrade to Checktyle 7.7.
...
This allows us to put @Nullable immediately preceding the return type,
which is exactly where we want it.
2017-05-06 14:21:55 -04:00
jwilson
bf83abb01c
Forbid null for a handshake's TLS version.
...
This value is almost always non-null. The only exception is when it was
persisted by a version of OkHttp prior to 3.0.
Rather than accepting null, and forcing clients to handle that value,
I'm changing the API to reject null. I'm forcing a default of SSL_3_0
for responses that we don't have a version for. I don't anticipate this
causing problems in practice.
2017-05-05 22:45:08 -04:00
jwilson
6f8cdcca1d
[maven-release-plugin] prepare for next development iteration
2017-04-15 21:53:08 -04:00
jwilson
e56f561e93
[maven-release-plugin] prepare release parent-3.7.0
2017-04-15 21:53:02 -04:00
jwilson
9690110f81
[maven-release-plugin] prepare for next development iteration
2017-01-29 14:14:39 -05:00
jwilson
9dc1bbad24
[maven-release-plugin] prepare release parent-3.6.0
2017-01-29 14:14:33 -05:00
jwilson
29f69277ea
[maven-release-plugin] prepare for next development iteration
2016-12-01 12:53:49 -05:00
jwilson
366bc4752b
[maven-release-plugin] prepare release parent-3.5.0
2016-12-01 12:53:45 -05:00
jwilson
a27afaf572
Always prefer the server's returned response body.
...
Previously we would prefer the cached response if it had a newer
Last-Modified date.
Closes: https://github.com/square/okhttp/issues/2886
2016-11-14 20:52:43 -05:00
jwilson
d35436e12d
Always use LinkedHashMap. Never HashMap.
2016-11-13 10:41:53 -05:00
Jake Wharton
749f4b960c
WebSockets should show an empty body to interceptors.
2016-09-01 09:26:21 -04:00
jwilson
f85cae7f0d
[maven-release-plugin] prepare for next development iteration
2016-07-08 22:39:32 -04:00
jwilson
ee2b9a2917
[maven-release-plugin] prepare release parent-3.4.0
2016-07-08 22:39:28 -04:00
Yuri Schimke
8fe73c05d8
java 9 tests
2016-07-03 07:03:48 -07:00
jwilson
7e773f39f9
[maven-release-plugin] prepare for next development iteration
2016-07-02 23:18:34 -04:00
jwilson
9db491924a
[maven-release-plugin] prepare release parent-3.4.0-RC1
2016-07-02 23:18:29 -04:00
Jesse Wilson
8d51e740d7
Merge pull request #2666 from square/jwilson.0626.dead_code
...
Run IntelliJ's analysis on OkHttp.
2016-07-02 10:56:44 -04:00
Tobias Thierer
1ef0b078a8
Cleanup refactoring: Move 3 methods into DelegatingHttpsURLConnection
...
These three methods were delegating to delegate; their implementation
was duplicated across both subclasses of DelegatingHttpsURLConnection.
This change moves them into the base class in order to
- avoid duplication
- separate the responsibility of delegation (base class) from the
responsibility of change to behavior (subclasses).
Notes:
- Since these three methods are not available in Java 6, each of
these need a @IgnoreJRERequirement annotation to pass the
animal sniffer test. This appears like it should have been
necessary before but for some reason it used to pass without.
- This in turn requires a new dependency from okhttp-urlconnection
onto animal-sniffer-annotations. The dependency was added onto
version 1.11 of that library (consistent with okhttp itself);
okio depends on version 1.10, the latest version is 1.15.
2016-06-28 18:22:02 -04:00
jwilson
a4d3082d2f
Run IntelliJ's analysis on OkHttp.
...
This made a few hundred suggestions, many of which are thoughtful but
I'm deliberately ignoring anyway.
The following fixes are good ideas.
2016-06-27 00:47:50 -04:00
jwilson
c5187583bb
Add connection, cache, and platform subpackages.
2016-06-26 23:04:30 -04:00
Jesse Wilson
89dc6d0c3d
Merge pull request #2647 from square/jwilson.0621.dont_retry
...
Don't retry streamed HTTP request bodies.
2016-06-25 17:22:09 -04:00
jwilson
d8213e8156
Don't retry streamed HTTP request bodies.
2016-06-25 17:01:36 -04:00
jwilson
ec39c46232
Rename HttpURLConnectionImpl to OkHttpURLConnection.
...
This is an internal class so nobody should see the name. But having a
completely different name will make it much easier to diagnose future
stacktraces because the internal implementation has changed so much
recently.
Also share fewer internal details with the rest of OkHttp. In particular
remove the OkHttp-Selected-Protocol and OkHttp-Response-Source headers
from the core.
2016-06-25 15:46:24 -04:00
jwilson
084b06b48b
Reimplement HttpURLConnection on the native OkHttp API.
2016-06-21 14:30:00 -04:00
jwilson
7a807aff6f
[maven-release-plugin] prepare for next development iteration
2016-05-28 14:11:55 -04:00
jwilson
358d96c5fb
[maven-release-plugin] prepare release parent-3.3.1
2016-05-28 14:11:52 -04:00
Yuri Schimke
8ceb7480f3
tests running in JDK 9
2016-05-28 13:09:24 -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
bab8943f2b
Promote sent and received timestamps to fields on Response.
...
I'm currently keeping these as longs. That's easy an unambiguous, but it also
feels rather primitive.
This was more work than I expected, but it doesn't seem particularly risky.
It's also potentially more efficient, since there's fewer places where we're
converting from string to long and vice versa.
Closes: https://github.com/square/okhttp/issues/2035
2016-05-08 15:25:56 -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