{"id":32179552,"url":"https://github.com/christoph-frick/relative-clj-http","last_synced_at":"2026-07-10T23:32:04.299Z","repository":{"id":62433802,"uuid":"125820338","full_name":"christoph-frick/relative-clj-http","owner":"christoph-frick","description":"Helpers to provide defaults and relative modifications around clj-http (only client for now)","archived":false,"fork":false,"pushed_at":"2022-06-07T19:55:08.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-29T01:00:05.487Z","etag":null,"topics":["clj-http","clojure"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/christoph-frick.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}},"created_at":"2018-03-19T07:45:43.000Z","updated_at":"2022-02-08T16:49:28.000Z","dependencies_parsed_at":"2022-11-01T21:15:40.212Z","dependency_job_id":null,"html_url":"https://github.com/christoph-frick/relative-clj-http","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/christoph-frick/relative-clj-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christoph-frick%2Frelative-clj-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christoph-frick%2Frelative-clj-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christoph-frick%2Frelative-clj-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christoph-frick%2Frelative-clj-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christoph-frick","download_url":"https://codeload.github.com/christoph-frick/relative-clj-http/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christoph-frick%2Frelative-clj-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35346644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["clj-http","clojure"],"created_at":"2025-10-21T21:02:23.335Z","updated_at":"2026-07-10T23:32:04.282Z","avatar_url":"https://github.com/christoph-frick.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# relative-clj-http\n\nProvide tools to keep a config map around a default\n[clj-http](https://github.com/dakrone/clj-http) request and do relative\nmanipulation to it -- for now or maybe ever: client only.\n\n[![Clojars Project](https://img.shields.io/clojars/v/net.ofnir/relative-clj-http.svg)](https://clojars.org/net.ofnir/relative-clj-http)\n[![cljdoc badge](https://cljdoc.org/badge/net.ofnir/relative-clj-http)](https://cljdoc.org/d/net.ofnir/relative-clj-http/CURRENT)\n\n## Usage\n\nSome examples:\n\n```clojure\n; require\nuser=\u003e (require '[relative-clj-http.client :as c])\nnil\n\n; a default config for convenience\nuser=\u003e c/default-config\n{:base-url \"http://localhost:8080\"\n :request {:as :auto :coerce :always :debug false :throw-exceptions false}}\n\n; create a config and adjust the base\nuser=\u003e (def config (-\u003e c/default-config (c/cd \"http://httpbin.org\")))\n#'user/config\nuser=\u003e config\n{:base-url \"http://httpbin.org\"\n :current-url \"http://httpbin.org\"\n :previous-url \"http://httpbin.org\"\n :request {:as :auto :coerce :always :debug false :throw-exceptions false}}\n\n; relative request with that config\nuser=\u003e (c/request config :get \"/get\")\n{:body \"{\\n  \\\"args\\\": {}, \\n  \\\"headers\\\": {\\n    \\\"Accept-Encoding\\\": \\\"gzip, deflate\\\", ...\"\n :content-type :application/json\n :status 200\n ; ...\n```\n\n## License\n\nCopyright © 2019 Christoph Frick\n\nReleased under the MIT License: http://www.opensource.org/licenses/mit-license.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristoph-frick%2Frelative-clj-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristoph-frick%2Frelative-clj-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristoph-frick%2Frelative-clj-http/lists"}