{"id":16859353,"url":"https://github.com/smarek/httpclient-android","last_synced_at":"2025-04-09T14:15:12.840Z","repository":{"id":55654297,"uuid":"42064856","full_name":"smarek/httpclient-android","owner":"smarek","description":"HttpClient repackaged for Android","archived":false,"fork":false,"pushed_at":"2023-09-03T18:02:26.000Z","size":133,"stargazers_count":230,"open_issues_count":4,"forks_count":51,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-02T12:13:27.032Z","etag":null,"topics":["android","gradle","httpclient"],"latest_commit_sha":null,"homepage":"https://hc.apache.org/httpcomponents-client-4.5.x/android-port.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smarek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-07T17:00:03.000Z","updated_at":"2024-07-22T11:51:02.000Z","dependencies_parsed_at":"2024-10-13T14:17:19.293Z","dependency_job_id":"d121c43f-f8ec-4702-b814-92a559709967","html_url":"https://github.com/smarek/httpclient-android","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smarek%2Fhttpclient-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smarek%2Fhttpclient-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smarek%2Fhttpclient-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smarek%2Fhttpclient-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smarek","download_url":"https://codeload.github.com/smarek/httpclient-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054193,"owners_count":21039952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","gradle","httpclient"],"created_at":"2024-10-13T14:17:12.330Z","updated_at":"2025-04-09T14:15:12.821Z","avatar_url":"https://github.com/smarek.png","language":"Java","readme":"# httpclient-android [![Build Status](https://travis-ci.org/smarek/httpclient-android.svg)](https://travis-ci.org/smarek/httpclient-android)\n\nBuild script and dependencies to create repackaged upstream version of HttpClient and dependencies (HttpMime, HttpCore, HttpClient-Cache) and get it working on Android API version from 3 to 23\n\nCurrent version: **4.5.8** (originating from upstream HttpClient 4.5.8 version)\n\n## Usage\n\nDownload the repository and simply hit `./build.sh` script\n\n## Dependencies\n\nRequired dependencies are:\n  - JDK 6 or newer\n  - Gradle 2.4 or newer\n  - `find`, `grep`, `svn`, `patch` and `sed` (or `gsed` for OS X)\n  - for Kerberos support you need `Android NDK`, `git` and `swig`\n\n## Configuration\n\nBuild params (ENV variables) you can use:\n  - `USE_GRADLE_WRAPPER`, set to `0` if you want to use current Gradle from PATH\n  - `UPDATE_UPSTREAM`, whether the build script should download SVN/GIT/... sources again (useful for recurring builds)\n  - `SED_CMD` used variant of SED utility (default is `sed -i` on linux and `gsed -i` on Mac OS X)\n  - `INCLUDE_JGSS_API`, **experimental**, whether to include Kerberos API and Negotiate, SPNego, GGS, Kerberos Auth schemes implementation\n  - `VERBOSE`, set to `1` to get more verbose output\n\n## Maven Central\n\nThis repository version will publish the library under namespace `cz.msebera.android:httpclient:4.5.8`\n\n## Maven Local\n\n*Using `gradle installArchives` will install the library to local Maven repository*\n\n## Gradle\n\nGradle dependency string, once you have it installed\n\n```gradle\ndependencies {\n  compile \"cz.msebera.android:httpclient:4.5.8\"\n}\n```\n\nOr you can simply depend on the project, like this (`httpclient-android` is resulting Gradle project dir)\n```gradle\ndependencies {\n  compile project(\"/path/to/generated/project/httpclient-android\")\n}\n```\n\n## Testing the library on the device\n\nTo test the library, you can use provided android app template, in the /testing-android-app folder  \n\nThis template currently just shows the response from https://httpbin.org/headers if successful, and the error message otherwise\n\n```\ncd testing-android-app\n./gradlew clean instalDebug\nadb shell am start -n cz.msebera.android.httpclient.test/.MainActivity\n```\n\nIf everything goes well, you should see, within seconds after running the last command, json with http headers of just finished HttpGet\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmarek%2Fhttpclient-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmarek%2Fhttpclient-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmarek%2Fhttpclient-android/lists"}