TCORSSupport.ResolvedCORSAllowedOrigins function
Resolves allowed origins for CORS requests
Declaration
function ResolvedCORSAllowedOrigins(aRequest: TRequest): string
; virtualArguments
aRequest | HTTP request to resolve origins for |
Function result
Resolved list of allowed origins
Description
ResolvedCORSAllowedOrigins resolves the list of allowed origins for the current request.
It processes the configured origins and returns the applicable ones based on the request context.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
