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. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python