Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3019 Widoki

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?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sty 23
8682
2
gru 19
6009
1
kwi 25
1471
2
wrz 24
2850
1
lip 25
2124