text/x-gherkin
Gherkin document
| Description | Gherkin document |
|---|---|
| File extensions | .feature |
| Based on | text/plain |
Frequently asked questions
What is the MIME type text/x-gherkin?
text/x-gherkin denotes “Gherkin document”.
Which file extension does text/x-gherkin use?
Files of type text/x-gherkin usually end in .feature.
How does a web server serve text/x-gherkin correctly?
With the header Content-Type: text/x-gherkin. In nginx: types { text/x-gherkin feature; }; in Apache: AddType text/x-gherkin .feature.