1
0
mirror of https://github.com/square/okhttp.git synced 2025-08-07 12:42:57 +03:00

228 Commits

Author SHA1 Message Date
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
561613d579 Create request/response API tests to match some URLConnectionTest tests.
This is more work towards being able to later delete HttpURLConnectionImpl
without losing test coverage.

Also do some test cleanup.
2016-01-23 19:12:33 -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
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
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
32fb79996c Change CookieJar to deal with Cookies, not Headers.
There's a big consequence to this for compatible with RFC 2965 Cookies. In particular,
this drops our ability to support 'Set-Cookie2' headers, and some features used there
including quoted attributes like 'Max-Age="25"'. This is the right move for interop with
browsers, and likely to make things better for application developers, but some
people who strictly followed the RFC 2965 spec will be broken. (That spec was never
seriously adopted anywhere, which is the entire motivation of RFC 6265.)

The upside is the CookieJar interface is now much more straightforward. This is
particularly good going forward, and for clients who don't have to worry about the
strangeness of things like $Version=1 in the RFC 2965 spec.
2015-12-30 19:28:13 -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
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
Jake Wharton
a9015ebe7d Add a strict mode of sorts to InMemoryFileSystem to detect handle leaks. 2015-10-08 02:11:44 -04: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
a560f72193 Expose internal APIs for pluggable file systems.
We aren't yet ready to make FileSystem a public type, but I don't mind
making it _almost_ available via an internal API for those brave enough
to try that.

Also migrate all of our tests to use the in memory file system. It's simpler.

https://github.com/square/okhttp/issues/1459
2015-08-01 11:56:40 -07: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
805076f68a Accept ws: URLs in Request.Builder.
I contemplated supporting them in HttpUrl, but then realized I'd
either need to document that behavior (which is weird behavior)
or return ws from the scheme (which seems arbitrary.)

Doing it in Request seems less bad: we support websockets requests.
2015-05-18 20:40:48 -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
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