コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2717 ビュー

Is there a reason why the following @http.route that specifically uses auth="user" does not respect the cors flag on the decorator?


@http.route('/web/session/modules', type='json', auth="user", cors="*")

I've skimmed through the code for the decorator itself, and can not see a reason why the combination of auth="user" and cors would invalidate the cors functionality of the decorator.

Can anyone explain?

アバター
破棄
関連投稿 返信 ビュー 活動
0
1月 23
8341
2
12月 19
5669
1
4月 25
985
2
9月 24
2391
1
7月 25
1821