Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2789 Visualizzazioni

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?

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
gen 23
8471
2
dic 19
5785
1
apr 25
1171
2
set 24
2538
1
lug 25
1909