Skip to content

Commit

Permalink
Merge pull request #2651 from httpwg/mnot/2622
Browse files Browse the repository at this point in the history
Require supported Date ranges
  • Loading branch information
mnot authored Oct 24, 2023
2 parents 1a32ea3 + 9424a87 commit 1f67f9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion draft-ietf-httpbis-sfbis.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,14 +485,17 @@ Note that in Dictionary ({{dictionary}}) and Parameter ({{param}}) values, Boole

Date values can be conveyed in Structured Fields.

Dates have a data model that is similar to Integers, representing a (possibly negative) delta in seconds from January 1, 1970 00:00:00 UTC, excluding leap seconds.
Dates have a data model that is similar to Integers, representing a (possibly negative) delta in seconds from 1970-01-01T00:00:00Z, excluding leap seconds.

For example:

~~~ http-message-new
Example-Date: @1659578233
~~~

Parsers MUST support Dates whose values include all days in years 1 to 9999 (i.e., -62,135,596,800 to 253,402,214,400 delta seconds from 1970-01-01T00:00:00Z).


### Display Strings {#displaystring}

Display Strings are similar to Strings, in that they consist of zero or more characters, but they allow Unicode content, unlike Strings.
Expand Down

0 comments on commit 1f67f9d

Please sign in to comment.