5c56da872a
Currently corsFetch is very stable and does not need to be used differently from pyfetch depending on whether the license server values the Origin header. Nested await is no longer necessary and the code is more concise. It is expected to be less confusing for debugging and for people creating new schemes.
5 lines
96 B
Python
5 lines
96 B
Python
res = await corsFetch(licUrl, "POST", licHeaders, challenge, "json")
|
|
|
|
licence = res['license']
|
|
|