{"id":17882142,"url":"https://github.com/nao1215/http-status-code","last_synced_at":"2026-01-20T22:03:20.208Z","repository":{"id":62864954,"uuid":"555909933","full_name":"nao1215/http-status-code","owner":"nao1215","description":"http-status-code return the meaning of HTTP status codes with RFC","archived":false,"fork":false,"pushed_at":"2025-01-10T20:07:20.000Z","size":5207,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T02:51:18.320Z","etag":null,"topics":["cheatsheet","command-line","command-line-tool","http-status","http-status-codes"],"latest_commit_sha":null,"homepage":"","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/nao1215.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-10-22T16:13:19.000Z","updated_at":"2024-08-02T12:31:14.000Z","dependencies_parsed_at":"2024-01-23T10:26:04.332Z","dependency_job_id":"c8e6e141-674e-4446-a3d9-1e0362d7a0de","html_url":"https://github.com/nao1215/http-status-code","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/nao1215/http-status-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nao1215%2Fhttp-status-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nao1215%2Fhttp-status-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nao1215%2Fhttp-status-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nao1215%2Fhttp-status-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nao1215","download_url":"https://codeload.github.com/nao1215/http-status-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nao1215%2Fhttp-status-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28615564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T21:52:42.722Z","status":"ssl_error","status_checked_at":"2026-01-20T21:52:20.513Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cheatsheet","command-line","command-line-tool","http-status","http-status-codes"],"created_at":"2024-10-28T12:48:19.312Z","updated_at":"2026-01-20T22:03:20.185Z","avatar_url":"https://github.com/nao1215.png","language":"Go","readme":"[![Build](https://github.com/nao1215/http-status-code/actions/workflows/build.yml/badge.svg)](https://github.com/nao1215/http-status-code/actions/workflows/build.yml)\n[![PlatformUnitTests](https://github.com/nao1215/http-status-code/actions/workflows/platform_test.yml/badge.svg)](https://github.com/nao1215/http-status-code/actions/workflows/platform_test.yml)\n[![codecov](https://codecov.io/gh/nao1215/http-status-code/branch/main/graph/badge.svg?token=AGqQgVDcL1)](https://codecov.io/gh/nao1215/http-status-code)\n[![reviewdog](https://github.com/nao1215/http-status-code/actions/workflows/reviewdog.yml/badge.svg)](https://github.com/nao1215/http-status-code/actions/workflows/reviewdog.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/nao1215/http-status-code)](https://goreportcard.com/report/github.com/nao1215/http-status-code)\n# http-status-code: Check HTTP status code with CLI\nThe http-status-code command uses the HTTP status code as a search keyword and print the meaning of that code and the RFC.\n\n# How to install\n### Use \"go install\"\nIf you does not have the golang development environment installed on your system, please install golang from the [golang official website](https://go.dev/doc/install).\n```\n$ go install github.com/nao1215/http-status-code@latest\n```\n\n### Install from Package or Binary\n[The release page](https://github.com/nao1215/http-status-code/releases) contains packages in .deb, .rpm, and .apk formats.\n  \n\n# How to use\n### Search HTTP status code\n```\n$ http-status-code search 501\n501 Not Implemented (ref.=RFC9110, Section 15.6.2)\n\n$ http-status-code search 401 201 303\n401 Unauthorized (ref.=RFC9110, Section 15.5.2)\n201 Created (ref.=RFC9110, Section 15.3.2)\n303 See Other (ref.=RFC9110, Section 15.4.4)\n```\n\n### List up HTTP status code\n```\n$ http-status-code list\n+------------------+---------------------------------+--------------------------+\n| HTTP STATUS CODE |           DESCRIPTION           |           RFC            |\n+------------------+---------------------------------+--------------------------+\n|              100 | Continue                        | RFC9110, Section 15.2.1  |\n|              101 | Switching Protocols             | RFC9110, Section 15.2.2  |\n|              102 | Processing                      | RFC2518                  |\n|              103 | Early Hints                     | RFC8297                  |\n|              200 | OK                              | RFC9110, Section 15.3.1  |\n|              201 | Created                         | RFC9110, Section 15.3.2  |\n|              202 | Accepted                        | RFC9110, Section 15.3.3  |\n|              203 | Non-Authoritative Information   | RFC9110, Section 15.3.4  |\n|              204 | No Content                      | RFC9110, Section 15.3.5  |\n|              205 | Reset Content                   | RFC9110, Section 15.3.6  |\n|              206 | Partial Content                 | RFC9110, Section 15.3.7  |\n|              207 | Multi-Status                    | RFC4918                  |\n|              208 | Already Reported                | RFC5842                  |\n|              226 | IM Used                         | RFC3229                  |\n|              300 | Multiple Choices                | RFC9110, Section 15.4.1  |\n|              301 | Moved Permanently               | RFC9110, Section 15.4.2  |\n|              302 | Found                           | RFC9110, Section 15.4.3  |\n|              303 | See Other                       | RFC9110, Section 15.4.4  |\n|              304 | Not Modified                    | RFC9110, Section 15.4.5  |\n|              305 | Use Proxy                       | RFC9110, Section 15.4.6  |\n|              306 | (Unused)                        | RFC9110, Section 15.4.7  |\n|              307 | Temporary Redirect              | RFC9110, Section 15.4.8  |\n|              308 | Permanent Redirect              | RFC9110, Section 15.4.9  |\n|              400 | Bad Request                     | RFC9110, Section 15.5.1  |\n|              401 | Unauthorized                    | RFC9110, Section 15.5.2  |\n|              402 | Payment Required                | RFC9110, Section 15.5.3  |\n|              403 | Forbidden                       | RFC9110, Section 15.5.4  |\n|              404 | Not Found                       | RFC9110, Section 15.5.5  |\n|              405 | Method Not Allowed              | RFC9110, Section 15.5.6  |\n|              406 | Not Acceptable                  | RFC9110, Section 15.5.7  |\n|              407 | Proxy Authentication Required   | RFC9110, Section 15.5.8  |\n|              408 | Request Timeout                 | RFC9110, Section 15.5.9  |\n|              409 | Conflict                        | RFC9110, Section 15.5.10 |\n|              410 | Gone                            | RFC9110, Section 15.5.11 |\n|              411 | Length Required                 | RFC9110, Section 15.5.12 |\n|              412 | Precondition Failed             | RFC9110, Section 15.5.13 |\n|              413 | Content Too Large               | RFC9110, Section 15.5.14 |\n|              414 | URI Too Long                    | RFC9110, Section 15.5.15 |\n|              415 | Unsupported Media Type          | RFC9110, Section 15.5.16 |\n|              416 | Range Not Satisfiable           | RFC9110, Section 15.5.17 |\n|              417 | Expectation Failed              | RFC9110, Section 15.5.18 |\n|              418 | (Unused)                        | RFC9110, Section 15.5.19 |\n|              421 | Misdirected Request             | RFC9110, Section 15.5.20 |\n|              422 | Unprocessable Content           | RFC9110, Section 15.5.21 |\n|              423 | Locked                          | RFC4918                  |\n|              424 | Failed Dependency               | RFC4918                  |\n|              425 | Too Early                       | RFC8470                  |\n|              426 | Upgrade Required                | RFC9110, Section 15.5.22 |\n|              427 | Unassigned                      | Unassigned               |\n|              428 | Precondition Required           | RFC6585                  |\n|              429 | Too Many Requests               | RFC6585                  |\n|              430 | Unassigned                      | Unassigned               |\n|              431 | Request Header Fields Too Large | RFC6585                  |\n|              451 | Unavailable For Legal Reasons   | RFC7725                  |\n|              500 | Internal Server Error           | RFC9110, Section 15.6.1  |\n|              501 | Not Implemented                 | RFC9110, Section 15.6.2  |\n|              502 | Bad Gateway                     | RFC9110, Section 15.6.3  |\n|              503 | Service Unavailable             | RFC9110, Section 15.6.4  |\n|              504 | Gateway Timeout                 | RFC9110, Section 15.6.5  |\n|              505 | HTTP Version Not Supported      | RFC9110, Section 15.6.6  |\n|              506 | Variant Also Negotiates         | RFC2295                  |\n|              507 | Insufficient Storage            | RFC4918                  |\n|              508 | Loop Detected                   | RFC5842                  |\n|              509 | Unassigned                      | Unassigned               |\n|              510 | Not Extended (OBSOLETED)        | RFC2774                  |\n|              511 | Network Authentication Required | RFC6585                  |\n+------------------+---------------------------------+--------------------------+\n```\n\n### Usegithub.com/nao1215/http-status-code/http package\n```\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/nao1215/hsc/http\"\n)\n\nfunc main() {\n\th := http.New()\n\th = h.Search(\"404\")\n\tfmt.Printf(\"http status code=%s, description=%s, rfc=%s\\n\", h.Code, h.Description, h.RFC)\n\n\t// Output:\n\t// http status code=404, description=Not Found, rfc=RFC9110, Section 15.5.5\n}\n```\n\n# Contributing\nFirst off, thanks for taking the time to contribute! Contributions are not only related to development. For example, GitHub Star motivates me to develop!\n\n# Contact\nIf you would like to send comments such as \"find a bug\" or \"request for additional features\" to the developer, please use one of the following contacts.\n\n- [GitHub Issue](https://github.com/nao1215/http-status-code/issues)\n\n# LICENSE\nThe http-status-code project is licensed under the terms of the [MIT License](./LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnao1215%2Fhttp-status-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnao1215%2Fhttp-status-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnao1215%2Fhttp-status-code/lists"}