HTTP 505 HTTP Version Not Supported — What It Means

What HTTP status code 505 HTTP Version Not Supported means, when servers return it, and how to handle it correctly.

Published September 26, 2026

HTTP 505 HTTP Version Not Supported means the server does not support the HTTP protocol version used in the request.

What it means

Rare today; may occur with malformed requests or very old/new clients.

Common causes: Unsupported HTTP version; Malformed request line; Protocol mismatch.

On the wire

GET / HTTP/9.9
HTTP/1.1 505 HTTP Version Not Supported
Content-Type: text/plain
A typical 505 exchange.

Practical examples

Test it from the shell

curl -i https://example.com/path   # look for HTTP 505

Handling 505 in code or config

curl --http1.1 https://example.com

How to fix it

Use HTTP/1.1 or HTTP/2; Fix the client's request line; Upgrade the server.

1. Reproduce: curl -i <url>
2. Confirm the status is 505
3. Apply the fix above and re-test

Common mistakes

  • Use HTTP/1.1 or HTTP/2
  • Fix the client's request line
  • Ignoring the response headers that explain the details.

Key takeaways

  • 505 means HTTP Version Not Supported.
  • HTTP 505 HTTP Version Not Supported means the server does not support the HTTP protocol version used in the request.
  • Read the response headers and logs for the exact cause.

FAQ

When would I see 505?

Almost only with misconfigured or ancient clients.

Is 505 a client or server error?

It is a server error status code, in the 5xx class.

More HTTP articles