1

The odd bird when it comes to casing,

Cache-Control

etc.

Does the case-style have a formal name?

(And the question is not resolved by referering to known kebab-case etc.)

Teson
  • 6,644
  • 8
  • 46
  • 69

1 Answers1

0

According to Junior to Expert it is called "Train case", but also known simply as "HTTP header case"

Train Case

The train case, which is formed by the combination of kebab case and pascal case rules, is also known as HTTP header case. It is formed by capitalizing the first letters of the words that make up the variable and separating these words with a hyphen (-).

However, in my opinion, "HTTP header case" might be misleading since the http standard only says that header names (or rather field names) are case insensitive.

Superole
  • 1,329
  • 21
  • 29