1. Change package name (rm "datasource") 2. Require injection of OkHttpClient through all constructors, and remove allowCrossProtocolRedirect/connectTimeout/readTimeout constructor arguments. The client should be configured with these prior to injection. 3. Fix code style to be consistent with the project. 4. Simplify call to get contentLength. I'm pretty sure okhttp returns the correct value when gzip is enabled, so there's no need to check this in the data source. 5. Misc cleanups.
| Name |
Last commit
|
Last Update |
|---|---|---|
| demo | Loading commit data... | |
| demo_misc | Loading commit data... | |
| extensions | Loading commit data... | |
| gradle/wrapper | Loading commit data... | |
| library | Loading commit data... | |
| playbacktests | Loading commit data... | |
| third_party | Loading commit data... | |
| .gitignore | Loading commit data... | |
| CONTRIBUTING.md | Loading commit data... | |
| LICENSE | Loading commit data... | |
| README.md | Loading commit data... | |
| RELEASENOTES.md | Loading commit data... | |
| build.gradle | Loading commit data... | |
| gradle.properties | Loading commit data... | |
| gradlew | Loading commit data... | |
| gradlew.bat | Loading commit data... | |
| settings.gradle | Loading commit data... |