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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This documentation covers the `SecurityLevel` enum within the Google Cloud App Engine v1 API, offering details on how to manage security protocols for URLs."],["The latest version documented is 2.4.0, while the content spans from version 1.0.0 up to 2.4.0, showing a history of the `SecurityLevel` enum's development."],["The `SecurityLevel` enum provides options such as `SecureAlways`, `SecureDefault`, `SecureNever`, `SecureOptional`, and `SecureUnspecified` to define how HTTP and HTTPS requests are handled."],["The `SecureAlways` option automatically redirects non-HTTPS requests to HTTPS, while `SecureNever` redirects HTTPS requests to HTTP."],["`SecureDefault` and `SecureOptional` both allow HTTP and HTTPS requests without redirects, enabling applications to determine the protocol used and respond accordingly."]]],[]]