{"id":20573780,"url":"https://github.com/lukehagar/http-ws-reference","last_synced_at":"2025-03-06T10:26:14.660Z","repository":{"id":262351566,"uuid":"886972344","full_name":"LukeHagar/http-ws-reference","owner":"LukeHagar","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-12T00:15:44.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T21:28:30.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LukeHagar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-11-12T00:11:35.000Z","updated_at":"2024-11-12T00:15:47.000Z","dependencies_parsed_at":"2024-11-12T01:19:45.090Z","dependency_job_id":"c8cab670-5391-4838-84a0-76822096c41c","html_url":"https://github.com/LukeHagar/http-ws-reference","commit_stats":null,"previous_names":["lukehagar/http-ws-reference"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeHagar%2Fhttp-ws-reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeHagar%2Fhttp-ws-reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeHagar%2Fhttp-ws-reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeHagar%2Fhttp-ws-reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukeHagar","download_url":"https://codeload.github.com/LukeHagar/http-ws-reference/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242189939,"owners_count":20086667,"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-16T05:29:03.560Z","updated_at":"2025-03-06T10:26:14.610Z","avatar_url":"https://github.com/LukeHagar.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-ws-reference\n\nA simple reference for overlapping HTTP/WS close codes\n\n[Inspiration](https://github.com/Luka967/websocket-close-codes)\n\n[IANA Websocket Close Code Registry](https://www.iana.org/assignments/websocket/websocket.xhtml#close-code-number)\n\n[Websocket Specification IETF](https://datatracker.ietf.org/doc/html/rfc6455#section-7.4)\n\n| **Category**             | **HTTP Status Code** | **HTTP Status Text**          | **WebSocket Close Code** | **WebSocket Close Text**        | **Description**                                                                            |\n|--------------------------|----------------------|--------------------------------|---------------------------|----------------------------------|------------------------------------------------------------------------------------------------|\n| **Success/Normal Closure**         | 200                  | OK                             | 1000                      | Normal Closure                   | The request was successfully processed, or the connection was closed normally.                 |\n| **No Status/No Response Received** | 204                  | No Content                    | 1005                      | No Status Received               | No additional information is provided, or no status was received.                             |\n| **Protocol Error/Bad Request**     | 400                  | Bad Request                   | 1002                      | Protocol Error                   | The request contained malformed syntax or protocol violations.                                |\n| **Invalid Data/Bad Request**       | 400                  | Bad Request                   | 1007                      | Invalid Frame Payload Data       | The server detected invalid data (e.g., invalid encoding) in the request or payload.          |\n| **Unauthorized Access**            | 401                  | Unauthorized                  | 3000                      | Unauthorized                     | The client attempted an unauthorized action.                                                  |\n| **Policy Violation/Forbidden**     | 403                  | Forbidden                     | 1008                      | Policy Violation                 | The request violated server policies, or access was forbidden.                                |\n| **Unsupported Media Type/Unsupported Data** | 415         | Unsupported Media Type        | 1003                      | Unsupported Data                 | The client sent data that is not supported by the server.                                     |\n| **Payload Too Large/Message Too Big** | 413             | Payload Too Large             | 1009                      | Message Too Big                  | The message/request size exceeds server limits.                                               |\n| **Unsupported Extension/Required Extensions Not Met** | 426 | Upgrade Required          | 1010                      | Mandatory Extension              | The client expected a specific protocol extension that was not agreed upon.                   |\n| **Bad Gateway/Gateway Timeout**    | 502                  | Bad Gateway                   | 1014                      | Bad Gateway                      | The server received an invalid response from an upstream server.                              |\n| **Service Unavailable/Service Restart** | 503           | Service Unavailable           | 1012                      | Service Restart                  | The server is restarting, causing the connection to terminate.                                |\n| **Service Unavailable/Try Again Later** | 503          | Service Unavailable           | 1013                      | Try Again Later                  | The server is currently overloaded; client should try again later.                            |\n| **Handshake Error/TLS Required**   | 426                  | Upgrade Required              | 1015                      | TLS Handshake                    | The client attempted to connect without the required TLS handshake or protocol.               |\n| **Internal Server Error**          | 500                  | Internal Server Error         | 1006                      | Abnormal Closure                 | The connection closed unexpectedly, likely due to an internal server error.                   |\n| **Internal Server Error**          | 500                  | Internal Server Error         | 1011                      | Internal Error                   | The server encountered an unexpected condition, leading to an error.                          |\n| **Custom/Private Codes**           | -                    | -                              | 4000-4999                 | Reserved for Private Use         | Both HTTP and WebSocket provide ranges for application-specific, non-standard error handling. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukehagar%2Fhttp-ws-reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukehagar%2Fhttp-ws-reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukehagar%2Fhttp-ws-reference/lists"}