@http · HTTP status codes, explained HTTP/1.1 505 HTTP Version Not Supported ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5xx · Server error The server doesn't support that HTTP version. WHAT IT MEANS ──────────────────────────────────────────────────────────── The server doesn't support, or refuses to support, the major HTTP version used in the request. WHY YOU'RE SEEING IT ───────────────────────────────────────────────────── → A client speaking a version the server or proxy can't handle. → A malformed request line that the server reads as an unknown version. HOW TO FIX IT ──────────────────────────────────────────────────────────── → Let the client fall back to HTTP/1.1, e.g. curl --http1.1. → Check for spaces or stray characters in the request path, which can break the request line. EXAMPLE RESPONSE ───────────────────────────────────────────────────────── HTTP/1.1 505 HTTP Version Not Supported Content-Length: 0 related 426 Upgrade Required   400 Bad Request   501 Not Implemented spec RFC 9110 §15.6.6 https://www.rfc-editor.org/rfc/rfc9110#section-15.6.6 web https://athttp.com/505 ← curl athttp.com/504 curl athttp.com/506 →