我希望在 django中编写一条与https://github.com/Rob--W/cors-anywhere完全一样的路线
我认为它类似于这个问题Django as reverse proxy
我的问题是如何将 cors 标头添加到其中。我也看过这个https://github.com/ottoyiu/django-cors-headers,反向代理是否只适用于 CORS,只需添加 django-cors-headers 吗?
我希望在 django中编写一条与https://github.com/Rob--W/cors-anywhere完全一样的路线
我认为它类似于这个问题Django as reverse proxy
我的问题是如何将 cors 标头添加到其中。我也看过这个https://github.com/ottoyiu/django-cors-headers,反向代理是否只适用于 CORS,只需添加 django-cors-headers 吗?