Skip to content

Commit 4c5c4be

Browse files
authored
Add format for imf-fixdate used in HTTP headers (OAI#3285)
* Add format for imf-fixdate used in HTTP headers * Add example
1 parent f8f3d25 commit 4c5c4be

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

registries/_format/imf-fixdate.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
owner: mikekistler
3+
issue:
4+
description: date and time as defined by IMF-fixdate - [RFC7231](https://datatracker.ietf.org/doc/html/rfc7231#section-7.1.1.1)
5+
base_type: string
6+
layout: default
7+
---
8+
9+
# <a href="..">{{ page.collection }}</a>
10+
11+
## {{ page.slug }} - {{ page.description }}
12+
13+
Base type: `{{ page.base_type }}`.
14+
15+
The `{{page.slug}}` format represents a date and time as defined by IMF-fixdate - [RFC7231](https://datatracker.ietf.org/doc/html/rfc7231#section-7.1.1.1).
16+
17+
Example: "Sun, 06 Nov 1994 08:49:37 GMT"
18+
19+
This is the preferred format for dates passed in HTTP headers.
20+
21+
{% if page.issue %}
22+
### GitHub Issue
23+
24+
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }})
25+
{% endif %}
26+
27+
{% if page.remarks %}
28+
### Remarks
29+
30+
{{ page.remarks }}
31+
{% endif %}

0 commit comments

Comments
 (0)