Skip to main content

%SYS.Python.WSGI

The dedicated dispatch class for all WSGI applications Dispatches to Python after setting up environment variables necessary for WSGI applications

Method Inventory

Parameters

parameter HandleCorsRequest = 1;
Inherited description: This parameter influences the CORS support. The default is an empty string meaning 'not specified'. If set to true (1) then CORS processing is ON. If set to false (0) then CORS processing is OFF. If left unset ("") then the decision to process CORS is delegated to the setting on the URL map route.

Methods

classmethod OnHandleCorsRequest(url) as %Status
Inherited description: This is the CORS request handler. User should override this method in their login page if they don't want the default behavior.
classmethod OnHandleOptionsRequest(url) as %Status
Inherited description: This methods provides handling of the options request for this CSP application. Note carefully: If authentication is required then this method will be called before login and as such will have only limited privileges.
classmethod Page(skipheader As %Boolean = 0) as %Status
This method matches the request and method and calls the dispatcher

Inherited Members

Inherited Methods

FeedbackOpens in a new tab