Knowledge Base

Common Header Problems

Unexpected behavior often comes from configuration layers interacting. Start with the browser response and follow the symptom to the setting that controls it.

Three useful first checks

  1. Inspect the actual request and final response, including its status and URL.
  2. Compare headers added by the application, server, hosting cache, and CDN.
  3. Test a representative browser flow, not just the homepage.

A missing optional header is not automatically a bug. A present header can still be weak, contradictory, or inappropriate for the response.

Find your symptom

Duplicate or Conflicting Headers

The application, server, hosting platform, and CDN may all add headers. Find which layer owns the value before adding another copy.

Troubleshoot CORS Errors

A CORS error describes a browser access decision. Check the request, the preflight when present, and the response instead of adding a wildcard blindly.

CSP Is Blocking Resources

A broken script, font, image, or embed may be the browser enforcing a policy correctly. Identify the rule before weakening the whole policy.

A Cache Still Serves Old Content

An old page can come from the browser, a service worker, application caching, a reverse proxy, or a CDN. Identify the layer before changing every cache setting.

Troubleshoot HSTS Problems

When a browser keeps upgrading HTTP or refuses an insecure connection, check remembered HSTS, parent-domain policies, and the HTTPS deployment.

Cookies Are Not Being Sent

A missing cookie can be a scope, SameSite, credentials, or browser storage decision. First distinguish a cookie that was rejected from one that was stored but not sent.

MIME Type and nosniff Problems

A blocked script or stylesheet often received the wrong response, not just the wrong header. Inspect the body before changing the policy.

Copyright ©2026 MILAN INNOVATIONS LLC. All rights reserved.