{"id":21374818,"url":"https://github.com/banool/tower-default-headers-rs","last_synced_at":"2025-03-16T09:20:51.213Z","repository":{"id":228379035,"uuid":"773808574","full_name":"banool/tower-default-headers-rs","owner":"banool","description":"tower-compatible middleware to set default HTTP response headers","archived":false,"fork":false,"pushed_at":"2024-03-18T13:03:27.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T23:43:25.192Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/banool.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2024-03-18T12:44:25.000Z","updated_at":"2024-03-18T12:44:56.000Z","dependencies_parsed_at":"2024-03-18T14:29:11.890Z","dependency_job_id":"0e5bf5a5-d31e-4fde-83a4-29eb21f93f0e","html_url":"https://github.com/banool/tower-default-headers-rs","commit_stats":null,"previous_names":["banool/tower-default-headers-rs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Ftower-default-headers-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Ftower-default-headers-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Ftower-default-headers-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banool%2Ftower-default-headers-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/banool","download_url":"https://codeload.github.com/banool/tower-default-headers-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243848013,"owners_count":20357482,"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":[],"created_at":"2024-11-22T08:45:32.395Z","updated_at":"2025-03-16T09:20:51.182Z","avatar_url":"https://github.com/banool.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tower-default-headers-rs\n[![Status](https://img.shields.io/badge/status-actively--developed-brightgreen)](https://gitlab.com/jokeyrhyme/tower-default-headers-rs) [![Gitlab pipeline status](https://img.shields.io/gitlab/pipeline-status/jokeyrhyme/tower-default-headers-rs?branch=main)](https://gitlab.com/jokeyrhyme/tower-default-headers-rs/-/pipelines?ref=main) [![Crates.io](https://img.shields.io/crates/v/tower-default-headers)](https://crates.io/crates/tower-default-headers) [![docs.rs](https://img.shields.io/docsrs/tower-default-headers)](https://docs.rs/tower-default-headers)\n\nTower compatible middleware to set default HTTP response headers.\n\nIf you need to set just a small, known set of headers, just use [SetResponseHeaderLayer](https://docs.rs/tower-http/latest/tower_http/set_header/struct.SetResponseHeaderLayer.html) from [tower-http](https://docs.rs/tower-http/latest/tower_http/index.html).\n\nForked from: https://gitlab.com/jokeyrhyme/tower-default-headers-rs. Updated to be compatible with Axum 0.7 and friends. If you're reading this in the future, see [this issue](https://gitlab.com/jokeyrhyme/tower-default-headers-rs/-/issues/2) to see if the original repo has been updated.\n\n## See also\n\n- tower: [source code](https://github.com/tower-rs/tower) [crate](https://crates.io/crates/tower)\n\n- tokio blog post: [Inventing the `Service` trait](https://tokio.rs/blog/2021-05-14-inventing-the-service-trait)\n\n- owasp-headers-rs: https://github.com/banool/owasp-headers-rs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanool%2Ftower-default-headers-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbanool%2Ftower-default-headers-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanool%2Ftower-default-headers-rs/lists"}