{"id":472,"name":"github.com/mozillazg/go-httpheader","ecosystem":"go","description":"Package httpheader implements encoding of structs into http.Header fields.\n\nAs a simple example:\n\nThe exact mapping between Go values and http.Header is described in the\ndocumentation for the Header() function.","homepage":"https://github.com/mozillazg/go-httpheader","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/mozillazg/go-httpheader","keywords_array":[],"namespace":"github.com/mozillazg","versions_count":6,"first_release_published_at":"2017-06-10T11:15:16.000Z","latest_release_published_at":"2023-06-29T13:55:18.000Z","latest_release_number":"v0.4.0","latest_published_release_number":null,"last_synced_at":"2026-07-14T19:04:18.813Z","created_at":"2022-04-04T17:59:15.205Z","updated_at":"2026-10-21T11:17:03.050Z","registry_url":"https://pkg.go.dev/github.com/mozillazg/go-httpheader","install_command":"go get github.com/mozillazg/go-httpheader","documentation_url":"https://pkg.go.dev/github.com/mozillazg/go-httpheader#section-documentation","metadata":{},"repo_metadata":{"id":22166385,"uuid":"95293551","full_name":"mozillazg/go-httpheader","owner":"mozillazg","description":"A Go library for encoding structs into Header fields.","archived":false,"fork":false,"pushed_at":"2023-07-15T18:34:06.000Z","size":57,"stargazers_count":47,"open_issues_count":0,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-10-13T02:38:56.780Z","etag":null,"topics":["go","go-library","golang","header","struct","structs"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/mozillazg/go-httpheader","language":"Go","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/mozillazg.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,"publiccode":null,"codemeta":null}},"created_at":"2017-06-24T11:28:06.000Z","updated_at":"2025-06-24T06:06:14.000Z","dependencies_parsed_at":"2024-06-18T13:59:02.714Z","dependency_job_id":"d55811b5-a9f4-4ad1-9aab-5a50ba1d06ef","html_url":"https://github.com/mozillazg/go-httpheader","commit_stats":{"total_commits":43,"total_committers":4,"mean_commits":10.75,"dds":"0.16279069767441856","last_synced_commit":"00e0d97353778d8dea8a7fbf202e274edb9d40b6"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mozillazg/go-httpheader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mozillazg","download_url":"https://codeload.github.com/mozillazg/go-httpheader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/sbom","scorecard":{"id":662399,"data":{"date":"2025-08-11","repo":{"name":"github.com/mozillazg/go-httpheader","commit":"00e0d97353778d8dea8a7fbf202e274edb9d40b6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/mozillazg/go-httpheader/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/mozillazg/go-httpheader/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/mozillazg/go-httpheader/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/mozillazg/go-httpheader/main.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T16:34:59.967Z","repository_id":22166385,"created_at":"2025-08-21T16:34:59.967Z","updated_at":"2025-08-21T16:34:59.967Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344956071,"owners_count":38432165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-21T02:00:07.576Z","response_time":57,"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"},"owner_record":{"login":"mozillazg","name":"Huang Huang","uuid":"485054","kind":"user","description":"","email":"mozillazg101@gmail.com","website":"https://mozillazg.com","location":"Beijing, China","twitter":"mozillazg","company":"@aliyun @AliyunContainerService","icon_url":"https://avatars.githubusercontent.com/u/485054?v=4","repositories_count":292,"last_synced_at":"2026-10-17T22:04:23.583Z","metadata":{"has_sponsors_listing":false,"funding":{"custom":["https://mozillazg.com/wechat_donate.jpeg"],"patreon":"mozillazg"}},"html_url":"https://github.com/mozillazg","funding_links":["https://mozillazg.com/wechat_donate.jpeg","https://patreon.com/mozillazg"],"total_stars":13345,"followers":1092,"following":176,"created_at":"2022-11-02T16:23:30.977Z","updated_at":"2026-10-17T22:04:23.594Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mozillazg","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mozillazg/repositories"},"tags":[{"name":"v0.4.0","sha":"00e0d97353778d8dea8a7fbf202e274edb9d40b6","kind":"tag","published_at":"2023-06-29T13:57:50.000Z","download_url":"https://codeload.github.com/mozillazg/go-httpheader/tar.gz/v0.4.0","html_url":"https://github.com/mozillazg/go-httpheader/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mozillazg/go-httpheader@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.4.0/manifests"},{"name":"v0.3.1","sha":"d21c57b2c90f052b07467595bde5b0200089c99f","kind":"commit","published_at":"2022-04-09T02:46:16.000Z","download_url":"https://codeload.github.com/mozillazg/go-httpheader/tar.gz/v0.3.1","html_url":"https://github.com/mozillazg/go-httpheader/releases/tag/v0.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mozillazg/go-httpheader@v0.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.3.1/manifests"},{"name":"v0.3.0","sha":"17b533c501269bc6ff5a59cdef57a343e90fb299","kind":"commit","published_at":"2021-01-24T01:21:25.000Z","download_url":"https://codeload.github.com/mozillazg/go-httpheader/tar.gz/v0.3.0","html_url":"https://github.com/mozillazg/go-httpheader/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mozillazg/go-httpheader@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.3.0/manifests"},{"name":"v0.2.1","sha":"61f2392c3317b60616c9dcb10d0a4cfef131fe62","kind":"commit","published_at":"2018-11-03T08:20:14.000Z","download_url":"https://codeload.github.com/mozillazg/go-httpheader/tar.gz/v0.2.1","html_url":"https://github.com/mozillazg/go-httpheader/releases/tag/v0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mozillazg/go-httpheader@v0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.2.1/manifests"},{"name":"v0.2.0","sha":"4e5d6424981844faafc4b0649036b2e0395bdf99","kind":"commit","published_at":"2017-06-24T10:40:39.000Z","download_url":"https://codeload.github.com/mozillazg/go-httpheader/tar.gz/v0.2.0","html_url":"https://github.com/mozillazg/go-httpheader/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mozillazg/go-httpheader@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"5bb0c20a51b3e3253479db7fcd627600c0c5a2d6","kind":"tag","published_at":"2017-06-10T11:25:28.000Z","download_url":"https://codeload.github.com/mozillazg/go-httpheader/tar.gz/v0.1.0","html_url":"https://github.com/mozillazg/go-httpheader/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/mozillazg/go-httpheader@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-10-21T11:17:03.050Z","dependent_packages_count":315,"downloads":null,"downloads_period":null,"dependent_repos_count":2270,"rankings":{"downloads":null,"dependent_repos_count":0.17169759644113938,"dependent_packages_count":0.21309176017528714,"stargazers_count":6.108391978686247,"forks_count":6.180260006167385,"docker_downloads_count":0.2158928689994024,"average":2.577866842093892},"purl":"pkg:golang/github.com/mozillazg/go-httpheader","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/mozillazg/go-httpheader","docker_dependents_count":1029,"docker_downloads_count":214639978,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/mozillazg/go-httpheader","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/mozillazg/go-httpheader/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-14T11:13:12.858Z","issues_count":1,"pull_requests_count":6,"avg_time_to_close_issue":986071.0,"avg_time_to_close_pull_request":4735299.5,"issues_closed_count":1,"pull_requests_closed_count":6,"pull_request_authors_count":5,"issue_authors_count":1,"avg_comments_per_issue":3.0,"avg_comments_per_pull_request":1.6666666666666667,"merged_pull_requests_count":5,"bot_issues_count":0,"bot_pull_requests_count":1,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozillazg%2Fgo-httpheader/issues","maintainers":[{"login":"mozillazg","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mozillazg"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fmozillazg%2Fgo-httpheader/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fmozillazg%2Fgo-httpheader/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fmozillazg%2Fgo-httpheader/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fmozillazg%2Fgo-httpheader/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fmozillazg%2Fgo-httpheader/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fmozillazg%2Fgo-httpheader/codemeta","maintainers":[]}