CorsSettings Class
Cross-Origin Resource Sharing (CORS) settings for the app.
- Inheritance
-
azure.mgmt.web._serialization.ModelCorsSettings
Constructor
CorsSettings(*, allowed_origins: List[str] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
allowed_origins
|
Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. |
Variables
Name | Description |
---|---|
allowed_origins
|
Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. |
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Python