Skip to Content
मेन्यू
This question has been flagged
2668 Views

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
Discard
Related Posts Replies Views Activity
0
जन॰ 23
8278
2
दिस॰ 19
5640
1
अप्रैल 25
934
2
सित॰ 24
2330
1
जुल॰ 25
1774