1. Home
  2. ...
  3. FAQs
  4. Does API Platform implement HSTS (strict-transport-security response header)?

Does API Platform implement HSTS (strict-transport-security response header)?

Use of the strict-transport-security header in internal APIs, front end, and gateways in v4.
v4 only

Yes, on all levels.

  • Application internal APIs: use HSTS by default, because the internal gateway implements it.
  • Front-end static navigation: implements HSTS natively since release 4.8.0.0.
  • Calls to APIs exposed by customers on their gateways: you can select the type of protocol accepted by each inbound address. If an inbound address only accepts HTTPS, the gateway returns the strict-transport-security header by default.
NOTE

The strict-transport-security response header tells the client (such as a browser) that the address should only be accessed using HTTPS, not HTTP.

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more