{"id":16990960,"url":"https://github.com/rzeldent/micro-http-status","last_synced_at":"2025-10-03T15:38:24.533Z","repository":{"id":61712923,"uuid":"554380073","full_name":"rzeldent/micro-http-status","owner":"rzeldent","description":"Library to check the HTTP status and translate to status names","archived":false,"fork":false,"pushed_at":"2023-12-21T08:28:41.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T00:31:38.809Z","etag":null,"topics":["http","http-status","http-status-code","http-status-codes","http-status-message","http-statuscodes"],"latest_commit_sha":null,"homepage":"","language":"C++","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/rzeldent.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,"governance":null}},"created_at":"2022-10-19T18:05:47.000Z","updated_at":"2023-11-18T21:17:28.000Z","dependencies_parsed_at":"2023-11-18T22:26:18.327Z","dependency_job_id":"950c5737-bbe6-425d-8567-e8361643dc44","html_url":"https://github.com/rzeldent/micro-http-status","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzeldent%2Fmicro-http-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzeldent%2Fmicro-http-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzeldent%2Fmicro-http-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzeldent%2Fmicro-http-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rzeldent","download_url":"https://codeload.github.com/rzeldent/micro-http-status/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244900679,"owners_count":20528768,"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":["http","http-status","http-status-code","http-status-codes","http-status-message","http-statuscodes"],"created_at":"2024-10-14T03:24:24.198Z","updated_at":"2025-10-03T15:38:19.495Z","avatar_url":"https://github.com/rzeldent.png","language":"C++","readme":"# micro-http-status\n\n[![Platform IO CI](https://github.com/rzeldent/micro-http-status/actions/workflows/main.yml/badge.svg)](https://github.com/rzeldent/micro-http-status/actions/workflows/main.yml)\n\nLibrary to check the HTTP status and translate to status names\n\n## Introduction\n\nThis library is a helper to determine the result of http responses and to translate them to human readable string\n\n## Checking the result\n\nBelow the list of functions provided by this library\n\n### bool http_informational(int code)\n\nReturns true if the response is informational (code \u003e= 100 \u0026\u0026 code \u003c 200)\n\n### bool http_success(int code)\n\nReturns true if the response is successful (code \u003e= 200 \u0026\u0026 code \u003c 300)\n\n### bool http_redirection(int code)\n\nReturns true if the response requested a redirection (code \u003e= 300 \u0026\u0026 code \u003c 400)\n\n### bool http_client_error(int code)\n\nReturns true if the response is a client error (code \u003e= 400 \u0026\u0026 code \u003c 500)\n\n### bool http_server_error(int code)\n\nReturns true if the response is a server error (code \u003e= 500 \u0026\u0026 code \u003c 600)\n\n### bool http_failure(int code)\n\nReturns true if the response indicates a client- or server error (code \u003e= 400 \u0026\u0026 code \u003c 600)\n\n## Displaying the result\n\n### const char *http_status_group(int code)\n\nReturns the group of the response. If the group is not known, an empty string is returned\n\n### const char *http_status_reason(int code)\n\nReturns the status of the response. If the status is not known, an empty string is returned\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frzeldent%2Fmicro-http-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frzeldent%2Fmicro-http-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frzeldent%2Fmicro-http-status/lists"}