-
|
Is it possible to add the allow_private_network parameter to the CORSMiddleware init like the following example ? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
|
Do any CORSMiddleware in other framework implements this? What is this header? |
Beta Was this translation helpful? Give feedback.
-
|
I think it's a good idea to support this header. Recently I had a cors issue when accessing a private IP site and I suppose this header would be a proper fix for it 😃. Good to know! |
Beta Was this translation helpful? Give feedback.
-
|
I've created a pull request #2621 implementing this functionality. Feel free to contribute and review to speed up its merging. |
Beta Was this translation helpful? Give feedback.
-
|
I've created #3064 from this discussion. |
Beta Was this translation helpful? Give feedback.
-
|
Someone from this discussion would like to review #3065 ? |
Beta Was this translation helpful? Give feedback.
I've created #3064 from this discussion.