Jesse Wilson
a3c18f69c9
[maven-release-plugin] prepare release parent-2.0.0
parent-2.0.0
2014-06-21 00:02:19 -04:00
Jesse Wilson
081218f448
2.0 release notes.
2014-06-20 23:55:49 -04:00
Jesse Wilson
fd82e90d2d
Merge pull request #952 from andrewgaul/bouncy-castle-1.50
...
Upgrade to Bouncy Castle 1.50
2014-06-20 23:35:41 -04:00
Andrew Gaul
5794a6518b
Upgrade to Bouncy Castle 1.50
...
Release notes:
https://www.bouncycastle.org/releasenotes.html
2014-06-20 16:07:53 -07:00
Jake Wharton
c0e0b25635
Merge pull request #948 from square/jwilson_0619_vary_accept_encoding
...
Fix a bug where we weren't storing rewritten request headers.
2014-06-19 08:30:21 -07:00
Jesse Wilson
94f9a1719c
Fix a bug where we weren't storing rewritten request headers.
...
Closes https://github.com/square/okhttp/issues/947
2014-06-19 08:29:57 -04:00
Jesse Wilson
eb40f47753
Merge pull request #946 from square/jw/lazy-url
...
Lazily convert String-based Request urls into URLs.
2014-06-18 14:13:58 -04:00
Jesse Wilson
a0bf65bbf6
Merge pull request #939 from square/jwilson_0617_window_size_bugs
...
Fix two problems with the window size.
2014-06-18 13:02:11 -04:00
Jake Wharton
e3bac1e4a3
Lazily convert String-based Request urls into URLs.
2014-06-18 09:34:07 -07:00
Jesse Wilson
7295bb1723
Merge pull request #941 from square/jw/caused-by
...
Pass causing exception through on malformed URL.
2014-06-18 08:11:54 -04:00
Jake Wharton
bd055d3047
Pass causing exception through on malformed URL.
2014-06-17 23:44:09 -07:00
Jake Wharton
8924105d0d
Merge pull request #940 from square/jwilson_0617_gateway_timeout_message
...
Use a better message for impossible requests.
2014-06-17 22:05:20 -07:00
Jesse Wilson
6171f55451
Fix two problems with the window size.
...
Each peer has a window size. The peer's window size controls how much
data we can send the peer, and our window size controls how much data
the peer can send us. We had these reversed in SpdyStream, so if the
peer specified a non-default window size we wouldn't send the required
WINDOW_UPDATE events when we needed to.
The connection has its own window size. But unlike the stream window
sizes, this needs to be manually adjusted with a windowUpdate frame
when the connection is opened.
Closes https://github.com/square/okhttp/issues/933
2014-06-18 00:34:21 -04:00
Jesse Wilson
2e3a253a5c
Use a better message for impossible requests.
2014-06-17 23:46:10 -04:00
Jake Wharton
7213e9b6b9
Merge pull request #935 from square/jw/seven
...
Update the language level to Java 7.
2014-06-17 14:32:29 -07:00
Jake Wharton
cdd71f1bbd
Update the language level to Java 7.
2014-06-17 13:36:42 -07:00
Jake Wharton
8b58ecf49b
Merge pull request #923 from square/jw/failure-io
...
Use IOException in Callback failure method.
2014-06-11 21:06:10 -07:00
Jesse Wilson
6580d0221b
Merge pull request #921 from square/jwilson_0611_tidy_examples
...
Tidy up recipes.
2014-06-11 23:56:51 -04:00
Jesse Wilson
1836612da7
Merge pull request #922 from square/jwilson_0611_more_recipes
...
Examples for authenticating and posting a form
2014-06-11 23:56:41 -04:00
Jake Wharton
6afd57683c
Use IOException in Callback failure method.
2014-06-11 19:32:41 -07:00
Jesse Wilson
9bba277483
Examples for authenticating and posting a form
2014-06-11 22:19:22 -04:00
Jesse Wilson
a8a39be3f6
Tidy up recipes.
...
Make names slightly more consistent.
2014-06-11 22:18:22 -04:00
Jake Wharton
9375aa8c4f
Correct reference to RC1.
2014-06-11 00:10:51 -07:00
Jesse Wilson
2cea341be1
[maven-release-plugin] prepare for next development iteration
2014-06-11 01:36:58 -04:00
Jesse Wilson
f171096b11
[maven-release-plugin] prepare release parent-2.0.0-RC2
parent-2.0.0-RC2
2014-06-11 01:34:55 -04:00
Jake Wharton
a3b413dd53
Merge pull request #918 from square/jwilson_0611_scheme
...
Test bogus scheme.
2014-06-10 21:50:44 -07:00
Jesse Wilson
44300bdf37
Test bogus scheme.
2014-06-11 00:48:55 -04:00
Jesse Wilson
2938800a51
Merge pull request #917 from square/jw/char
...
Use a character for appending spaces to skip array-based copy path.
2014-06-11 00:45:28 -04:00
Jesse Wilson
a889f71f7c
Changelog for 2.0.0-RC2
2014-06-11 00:44:55 -04:00
Jake Wharton
3469c11d3f
Use a character for appending spaces to skip array-based copy path.
2014-06-10 21:30:20 -07:00
Jake Wharton
72ef73aba0
Merge pull request #916 from square/jwilson_0610_multipart_post_recipe
...
Multipart POST example using imgur's API.
2014-06-10 19:33:28 -07:00
Jesse Wilson
beb99dd780
Merge pull request #915 from square/jwilson_0610_useragents
...
Don't include a weird user-agent in the new API.
2014-06-10 22:31:13 -04:00
Jesse Wilson
543b335640
Multipart POST example using imgur's API.
2014-06-10 22:27:48 -04:00
Jesse Wilson
bdb5c2f4e9
Don't include a weird user-agent in the new API.
2014-06-10 22:26:07 -04:00
Jesse Wilson
71688e6c57
Merge pull request #914 from square/jwilson_0610_headers_of
...
New API: Headers.of().
2014-06-10 22:16:47 -04:00
Jesse Wilson
97a01311da
New API: Headers.of().
...
Doing anything with multipart makes this necessary.
2014-06-10 22:01:00 -04:00
Jake Wharton
9afa09b446
Merge pull request #913 from square/jwilson_0610_response_after_callback
...
Keep the response body alive after the callback.
2014-06-10 17:34:08 -07:00
Jake Wharton
ae1e9ce7cd
Merge pull request #911 from square/jw/much-sadness
...
Revert builder-esque return types from OkHttpClient.
2014-06-10 16:59:02 -07:00
Jesse Wilson
aa7e7a751c
Keep the response body alive after the callback.
2014-06-10 19:45:49 -04:00
Jake Wharton
1ae96798cb
Revert builder-esque return types from OkHttpClient's timeout methods.
2014-06-10 15:08:37 -07:00
Jesse Wilson
ac6ac338a3
Merge pull request #909 from square/jwilson_0609_unbreak_spdy31
...
Don't skip client stream 1 on SPDY/3.1.
2014-06-10 12:17:17 -04:00
Jesse Wilson
393ad1c5e9
Merge pull request #908 from square/jwilson_0609_blow_up_on_unexpected_request_body
...
Blow up on an unexpected request body.
2014-06-10 01:11:53 -04:00
Jesse Wilson
c5f1ebac2e
Don't skip client stream 1 on SPDY/3.1.
...
This breaks connectivity to google.com's SPDY/3.1 servers.
2014-06-10 01:10:54 -04:00
Jesse Wilson
adcd50a632
Merge pull request #910 from square/jwilson_0609_npn
...
Always configure NPN.
2014-06-09 23:44:35 -04:00
Jesse Wilson
51b90a6b5c
Always configure NPN.
...
Without this, we get a hard SSL crash when a server returns NPN
information that was unsolicited.
2014-06-09 22:54:08 -04:00
Jesse Wilson
8f7f3b29a7
Blow up on an unexpected request body.
2014-06-09 22:02:58 -04:00
Jesse Wilson
f5fa80a9b1
Merge pull request #904 from square/jwilson_0608_eat_mimecraft
...
Eat mimecraft.
2014-06-09 21:52:57 -04:00
Jesse Wilson
0f24a557e1
Merge pull request #906 from lexer/nullable_content_type
...
Allow optional content-type for RequestBody.create with file param
2014-06-09 14:51:50 -04:00
Jesse Wilson
3ae7f7f966
Convert mimecraft types to use OkHttp types: RequestBody, MediaType.
...
This drops the Part type, replacing it with Headers+Body in MultipartBuilder.
2014-06-09 14:50:36 -04:00
Alexey Zakharov
8a43a25335
Allow optional content-type for RequestBody.create with file param
2014-06-09 11:38:12 -07:00