{"id":32195755,"url":"https://github.com/macchiato-framework/macchiato-http","last_synced_at":"2025-10-22T02:20:05.204Z","repository":{"id":62433507,"uuid":"144067184","full_name":"macchiato-framework/macchiato-http","owner":"macchiato-framework","description":"Http request/response helpers for Macchiato.","archived":false,"fork":false,"pushed_at":"2020-04-01T20:44:54.000Z","size":20,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-14T17:52:59.525Z","etag":null,"topics":[],"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/macchiato-framework.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-08-08T21:01:52.000Z","updated_at":"2025-01-27T19:47:42.000Z","dependencies_parsed_at":"2022-11-01T20:45:50.594Z","dependency_job_id":null,"html_url":"https://github.com/macchiato-framework/macchiato-http","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/macchiato-framework/macchiato-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macchiato-framework","download_url":"https://codeload.github.com/macchiato-framework/macchiato-http/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macchiato-framework%2Fmacchiato-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280365632,"owners_count":26318389,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"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":[],"created_at":"2025-10-22T02:20:04.125Z","updated_at":"2025-10-22T02:20:05.193Z","avatar_url":"https://github.com/macchiato-framework.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Http request/response helpers for Macchiato\n\nSee the [macchiato framework](https://github.com/macchiato-framework) for more details\n\n[![Clojars Project](https://img.shields.io/clojars/v/macchiato/http.svg)](https://clojars.org/macchiato/http)\n\nThis project's goal is to provide the request/response constructors in a standalone library. No middleware is included here, only pure functions.\n\nIn its very first iteration this code is just what `macchiato.util` in Macchiato Core is/used to be.\n\n### Examples\n\nIn a ClojureScript REPL, try:\n\n```clojure\ncljs.user=\u003e (require '[macchiato.http.request :as request])\nnil\ncljs.user=\u003e (request/request-url {:scheme       :http\n                                  :uri          \"/foo/bar\"\n                                 :headers      {\"host\" \"example.com\"}\n                                 :query-string \"x=y\"})\n\"http://example.com/foo/bar?x=y\"\n```\n\nWhile if you are using `lumo` makes sure the dependency is on your classpath, then try:\n\n```shell\nlumo -c $(clojure -Sdeps '{macchiato/http {:mvn/version \"X.Y.Z\"}}' -Spath)\n```\n\n```clojure\ncljs.user=\u003e (require '[macchiato.http.response :as response])\nnil\ncljs.user=\u003e (response/ok {:foo \"bar\"})\n{:status 200, :headers {}, :body {:foo \"bar\"}}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacchiato-framework%2Fmacchiato-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacchiato-framework%2Fmacchiato-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacchiato-framework%2Fmacchiato-http/lists"}