7

Consider this example from Wikipedia:

E.g.

GET /something HTTP/1.1
X-API-Key: abcdef12345

What does the X- technically stand for?

Josh
  • 11,979
  • 17
  • 60
  • 96
  • 1
    X-prefix just shows that this header is a custom one. You may have a look at this question: https://stackoverflow.com/questions/3561381/custom-http-headers-naming-conventions – Random Guy Jun 06 '20 at 17:33

2 Answers2

7

From RFC-6648, "X" is commonly understood to stand for "eXperimental" or "eXtension" :

Many application protocols use parameters with textual (as opposed to numerical) names to identify data (media types, header fields in Internet mail messages and HTTP requests, vCard parameters and properties, etc.). Historically, designers and implementers of application protocols have often distinguished between standardized and unstandardized parameters by prefixing the names of unstandardized parameters with the string "X-" or similar constructs (e.g., "x."), where the "X" is commonly understood to stand for"eXperimental" or "eXtension".

Community
  • 1
  • 1
Ken Chan
  • 84,777
  • 26
  • 143
  • 172
4

The X is mostly used to indicate that is an unoffical, not officially specifed or application specific header.

monty
  • 7,888
  • 16
  • 63
  • 100