{"id":13640540,"url":"https://github.com/http4s/http4s","last_synced_at":"2026-04-10T05:59:43.572Z","repository":{"id":2698719,"uuid":"3692188","full_name":"http4s/http4s","owner":"http4s","description":"A minimal, idiomatic Scala interface for HTTP","archived":false,"fork":false,"pushed_at":"2025-04-22T07:51:48.000Z","size":96492,"stargazers_count":2573,"open_issues_count":342,"forks_count":799,"subscribers_count":73,"default_branch":"series/0.23","last_synced_at":"2025-04-23T17:12:14.394Z","etag":null,"topics":["cats","fs2","http","http-client","http-server","scala","typelevel"],"latest_commit_sha":null,"homepage":"https://http4s.org/","language":"Scala","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/http4s.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-03-12T04:41:20.000Z","updated_at":"2025-04-18T12:47:34.000Z","dependencies_parsed_at":"2023-09-26T14:03:36.817Z","dependency_job_id":"9b7ef4ac-0c4b-4f9e-b4f1-eaf8ddbbe65a","html_url":"https://github.com/http4s/http4s","commit_stats":{"total_commits":11849,"total_committers":498,"mean_commits":23.79317269076305,"dds":0.7117900244746391,"last_synced_commit":"3f2e1fcd3a53a638080bd44396577558310524c9"},"previous_names":[],"tags_count":328,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http4s%2Fhttp4s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http4s%2Fhttp4s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http4s%2Fhttp4s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http4s%2Fhttp4s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/http4s","download_url":"https://codeload.github.com/http4s/http4s/tar.gz/refs/heads/series/0.23","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250477810,"owners_count":21437049,"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":["cats","fs2","http","http-client","http-server","scala","typelevel"],"created_at":"2024-08-02T01:01:12.186Z","updated_at":"2026-04-10T05:59:43.519Z","avatar_url":"https://github.com/http4s.png","language":"Scala","readme":"# Http4s [![Build Status](https://github.com/http4s/http4s/workflows/Continuous%20Integration/badge.svg?branch=series/0.23)](https://github.com/http4s/http4s/actions?query=branch%3Aseries%2F0.23+workflow%3A%22Continuous+Integration%22) [![Maven Central](https://img.shields.io/maven-central/v/org.http4s/http4s-core_2.13?versionPrefix=0.23)](https://img.shields.io/maven-central/v/org.http4s/http4s-core_2.13?versionPrefix=0.23) [![Typelevel library](https://img.shields.io/badge/typelevel-library-green.svg)](https://typelevel.org/projects/#http4s) \u003ca href=\"https://typelevel.org/cats/\"\u003e\u003cimg src=\"https://typelevel.org/cats/img/cats-badge.svg\" height=\"40px\" align=\"right\" alt=\"Cats friendly\" /\u003e\u003c/a\u003e\n\nHttp4s is a minimal, idiomatic Scala interface for HTTP services.  Http4s is\nScala's answer to Ruby's Rack, Python's WSGI, Haskell's WAI, and Java's\nServlets.\n\n```scala\nval http = HttpRoutes.of {\n  case GET -\u003e Root / \"hello\" =\u003e\n    Ok(\"Hello, better world.\")\n}\n```\n\nLearn more at [http4s.org](https://http4s.org/).\n\nIf you run into any difficulties please enable partial unification in your `build.sbt` (not needed for Scala 2.13 and beyond, because Scala 2.13.0+ has partial unification switched on by default)\n\n```scala\nscalacOptions ++= Seq(\"-Ypartial-unification\")\n```\n\n## Requirements\n\nRunning the **blaze** backend requires a modern, supported version of the JVM to build and run, as it relies on server\nAPIs unavailable before JDK8u252. Any JDK newer than JDK8u252, including 9+ is supported.\n\n## Code of Conduct\n\nhttp4s is proud to be a [Typelevel](https://typelevel.org/)\nproject.  We are committed to providing a friendly, safe and welcoming\nenvironment for all, and ask that the community adhere to the [Scala\nCode of Conduct](https://http4s.org/code-of-conduct/).\n\n## License\n\nThis software is licensed under the Apache 2 license, quoted below.\n\n\u003e Copyright 2013-2021 http4s [[https://http4s.org](https://http4s.org/)]\n\n\u003e Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\n\u003e [[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)]\n\n\u003e Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\n## Acknowledgments\n\n[![YourKit](https://www.yourkit.com/images/yklogo.png)](https://www.yourkit.com/)\n\nSpecial thanks to [YourKit](https://www.yourkit.com/) for supporting this project's ongoing performance tuning efforts with licenses to their excellent product.\n\n","funding_links":[],"categories":["HTTP","Scala","Table of Contents","网络编程","\u003ca name=\"Scala\"\u003e\u003c/a\u003eScala"],"sub_categories":["HTTP"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp4s%2Fhttp4s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttp4s%2Fhttp4s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp4s%2Fhttp4s/lists"}