PingGateway 2024.11

DateHeaderFilter

Inserts the server date in an HTTP Date header on the response, if the Date header isn’t present.

Usage

{
  "type": "DateHeaderFilter"
}

Properties

There are no configuration properties for this filter.

Example

The following example includes a DateHeaderFilter in a chain:

{
  "condition": "...",
  "handler": {
    "type": "Chain",
    "config": {
      "filters": [{
          ...
        },
        {
          "type": "DateHeaderFilter"
        }
      ],
      "handler": {
        "name": "StaticResponseHandler-1",
        ...
      }
    }
  }
}

More information

You can find more information about Date format in RFC 7231 - Date.

This filter is also available to support Financial-Grade API. Learn more in Financial-grade API Security Profile 1.0 - Part 1: Baseline.

Copyright © 2010-2024 ForgeRock, all rights reserved.