Module afire::extension::date

source ·
Expand description

Middleware to add the HTTP Date header (as defined in RFC 9110, Section 5.6.7). This is technically required for all servers that have a clock, so I may move it to the core library at some point.

Structs

  • Middleware to add the HTTP Date header (as defined in RFC 9110, Section 5.6.7). This is technically required for all servers that have a clock, so I may move it to the core library at some point.

Functions

  • Returns the current date in the IMF-fixdate format. Example: Sun, 06 Nov 1994 08:49:37 GMT