HTTP headers | UpgradeInsecureRequests (original) (raw)

HTTP headers | Upgrade-Insecure-Requests

Last Updated : 12 Jul, 2025

The HTTP header Upgrade-Insecure-Requests is a request type header. It sends a signal to the server expressing the client’s preference for an encrypted and authenticated response, and it can successfully handle the upgrade-insecure-requests HTTP headers Content-Security-Policy directive.Syntax:

Upgrade-Insecure-Requests: 1

Directives: The HTTP Upgrade-Insecure-Requests header does not accepts any directives. It acts as directives with some headers, like Content-Security-Policy for the handling of CSP. With Vary header, it works as a directive containing the value of 1.Example:

To check this Upgrade-Insecure-Requests in action, go to Inspect Element -> Network check the request header forUpgrade-Insecure-Requests like below, Upgrade-Insecure-Requests is highlighted you can see. Supported Browsers: The browsers are compatible with HTTP Upgrade-Insecure-Requests header are listed below: