Jesse Wilson
0a59e68b16
[maven-release-plugin] prepare for next development iteration
2019-02-05 12:15:46 -05:00
Jesse Wilson
d28d2cec21
[maven-release-plugin] prepare release parent-3.13.1
2019-02-05 12:15:39 -05:00
Jesse Wilson
5ecd590c8c
[maven-release-plugin] prepare for next development iteration
2019-02-04 23:32:52 -05:00
Jesse Wilson
d55661544b
[maven-release-plugin] prepare release parent-3.13.0
2019-02-04 23:32:45 -05:00
Jesse Wilson
94c38da706
Permit multipart filenames to contain non-ascii characters
...
Closes: https://github.com/square/okhttp/issues/4564
2019-02-02 12:55:32 -05:00
Jesse Wilson
9d28d9c9e2
Get trailers working for HTTP/1
...
The most awkward part of this is the changes to the way MockResponse
handled chunked encoding. It used to consider trailers a part of its
chunked response; now it does not.
2019-01-14 22:33:54 -05:00
Jesse Wilson
0dc50f1112
Run IntelliJ inspections on the codebase
...
Some nullability warnings, some diamond operators, adopting Objects.equals(),
and some dead code elimination.
2019-01-01 12:41:06 -05:00
Jesse Wilson
52e251836a
Adopt some Java 8 features: diamonds, StandardCharsets
2019-01-01 00:48:07 -05:00
Jesse Wilson
bf8e653c3a
Get the latest versions of things.
...
I used 'mvn versions:use-latest-versions' and also just a bunch of manual
fixing.
2018-12-28 15:53:46 -05:00
Jesse Wilson
c273b3be38
[maven-release-plugin] prepare for next development iteration
2018-11-16 23:44:19 -05:00
Jesse Wilson
7f63a35ab1
[maven-release-plugin] prepare release parent-3.12.0
2018-11-16 23:44:12 -05:00
Jesse Wilson
7ef5f55d38
[maven-release-plugin] prepare for next development iteration
2018-07-12 23:41:09 -04:00
Jesse Wilson
95ae0cf421
[maven-release-plugin] prepare release parent-3.11.0
2018-07-12 23:41:00 -04:00
Jesse Wilson
37887141fe
Rename TlsNode to HandshakeCertificates ( #4141 )
2018-07-12 06:39:20 +01:00
Jesse Wilson
b1bfe7130c
New okhttp-tls module
2018-07-09 12:00:28 -04:00
Jesse Wilson
31c511f694
Rename SslClient to TlsNode and make it a public API
...
https://github.com/square/okhttp/issues/3934
2018-07-08 15:33:16 -04:00
Jake Wharton
36f4fd04f7
Add parse overload which fails on invalid inputs
2018-07-05 23:18:15 -04:00
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