- 09 5月, 2013 1 次提交
-
-
由 Jake Wharton 提交于
-
- 04 5月, 2013 4 次提交
-
-
由 edenman 提交于
Reset thread name to idle when not in use.
-
由 Jake Wharton 提交于
Closes #188.
-
由 Jake Wharton 提交于
Issues with new multi-part implementation
-
由 Eric Butler 提交于
* Added fileName() to TypedOutput so non-File parts can be named. * Support Content-Length in multipart requests. * Serialize parts to byte[]s so length is available.
-
- 02 5月, 2013 2 次提交
-
-
由 Jake Wharton 提交于
Eagerly consume a stream when exposing to caller.
-
由 Jake Wharton 提交于
HTTP responses return an input stream wrapped in a TypedInput which we pass to the converter for deserialization as fast as the bytes come in. If we are skipping the converter (non-2xx resposne code) or returning the response directly we eagerly consume the stream to a byte[] for the caller. If the converter threw an exception while reading the stream then it is nulled out before being handed to the RetrofitError. This prevents partially read streams from being exposed. Closes #181.
-
- 16 4月, 2013 3 次提交
-
-
由 Jake Wharton 提交于
Adds in missing quotation mark in Content-Disposition header
-
由 Matthew Runo 提交于
Fixed missing quotation mark which caused multipart file uploads to parse without a filename, leading to missing files in requests on the server side
-
由 Jake Wharton 提交于
Roll our own multi-part implementation.
-
- 12 4月, 2013 3 次提交
-
-
由 Jake Wharton 提交于
Drop Apache mime4j dependency. Closes #141.
-
由 Jake Wharton 提交于
Abstract logging API.
-
由 Jake Wharton 提交于
This also fixes a race condition in the RestHandler's dealing with the response of `server.getUrl()`. Theoretically the response of that invocation could change between creating the request and assembling the profiler information. Cache the result in a local variable and re-use. Closes #142.
-
- 30 3月, 2013 1 次提交
-
-
由 Patrick Forhan 提交于
Remove pre/post override points for ApacheClient.
-
- 28 3月, 2013 2 次提交
-
-
由 Jake Wharton 提交于
All customization should be done by overriding execute.
-
-
- 27 3月, 2013 6 次提交
-
-
由 Jake Wharton 提交于
Only using getErrorStream() for status >= 400
-
由 Jake Wharton 提交于
Making TestingUtils abstract so that JUnit ignores
-
由 Jake Wharton 提交于
Using Response in readme instead of SimpleResponse
-
由 Jake Wharton 提交于
Fix handling of 204 No Content responses
-
由 Eric Butler 提交于
-
由 Kiran Ryali 提交于
Update sample name to reflect behavior.
-
- 26 3月, 2013 2 次提交
-
-
由 Jake Wharton 提交于
-
由 rburton 提交于
-
- 20 3月, 2013 1 次提交
-
-
由 Eric Butler 提交于
Improves RetrofitError.toString() output.
-
- 15 3月, 2013 4 次提交
-
-
由 Ransom Briggs 提交于
Using MyJsonObj to make it more clear it is a custom type
-
由 Ransom Briggs 提交于
-
由 Ransom Briggs 提交于
-
由 Ransom Briggs 提交于
initializationError(retrofit.http.TestingUtils) java.lang.Exception: No runnable methods
-
- 13 3月, 2013 3 次提交
-
-
由 Jake Wharton 提交于
-
由 Jesse Wilson 提交于
Full type resolution from Gson.
-
由 jwilson 提交于
There's a ton of code because we need to construct generic types.
-
- 11 3月, 2013 4 次提交
-
-
由 Jake Wharton 提交于
Always return response object on success callbacks.
-
由 JJ Ford 提交于
-
由 JJ Ford 提交于
-
由 JJ Ford 提交于
Gives access to response headers while still converting response within retrofit.
-
- 10 3月, 2013 1 次提交
-
-
由 Jake Wharton 提交于
-
- 08 3月, 2013 2 次提交
-
-
由 Jesse Wilson 提交于
Relax enforcement of UTF-8 and use the body charset for decoding.
-
由 Jake Wharton 提交于
Consumers wanting well-behaved endponts should override or add to their `toBody` charset enforcement: ```java String charset = Utils.parseCharset(body.mimeType()); if (!"UTF-8".equalsIgnoreCase(charset)) { throw new ConversionException("Invalid charset " + charset + ". Must be UTF-8"); } ``` Closes #163.
-
- 07 3月, 2013 1 次提交
-
-
由 Jake Wharton 提交于
-