Requests for a URL that match this handler that do not use HTTPS are
automatically redirected to the HTTPS URL with the same path. Query
parameters are reserved for the redirect.
SecureDefault
Both HTTP and HTTPS requests with URLs that match the handler succeed
without redirects. The application can examine the request to determine
which protocol was used, and respond accordingly.
SecureNever
Requests for a URL that match this handler that use HTTPS are automatically
redirected to the HTTP equivalent URL.
SecureOptional
Both HTTP and HTTPS requests with URLs that match the handler succeed
without redirects. The application can examine the request to determine
which protocol was used and respond accordingly.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eSecurityLevel\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.AppEngine.V1\u003c/code\u003e namespace, specifically in version 1.4.0, outlining methods to enforce HTTPS on URLs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecurityLevel\u003c/code\u003e enum offers five distinct fields: \u003ccode\u003eSecureAlways\u003c/code\u003e, \u003ccode\u003eSecureDefault\u003c/code\u003e, \u003ccode\u003eSecureNever\u003c/code\u003e, \u003ccode\u003eSecureOptional\u003c/code\u003e, and \u003ccode\u003eSecureUnspecified\u003c/code\u003e, each dictating how HTTP and HTTPS requests are handled.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this documentation is 2.4.0, with versions ranging back to 1.0.0 also available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSecureAlways\u003c/code\u003e field automatically redirects non-HTTPS requests to their HTTPS equivalents, while \u003ccode\u003eSecureNever\u003c/code\u003e redirects HTTPS to HTTP.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSecureDefault\u003c/code\u003e and \u003ccode\u003eSecureOptional\u003c/code\u003e allow both protocols to be used without redirects, allowing the application to examine the request to determine the protocol used.\u003c/p\u003e\n"]]],[],null,[]]