Closed MrOrz closed 3 years ago
In order to perform license change, we are adding a custom HTTP header to ensure all API users acknowledge the license change.
If LICENSE_URL is provided, it will look like this:
LICENSE_URL
After LICENSE_URL is set, not giving x-accept-license header will receive:
x-accept-license
Only after providing correct x-accept-license can users use the API:
Coverage decreased (-0.2%) to 86.249% when pulling c774ffd796cb91badd6632beb31a4088c38e632c on cc-by into 5632c4532c11b30dd160c4dfab9adea500250d3c on master.
In order to perform license change, we are adding a custom HTTP header to ensure all API users acknowledge the license change.
If![image](https://user-images.githubusercontent.com/108608/102010283-27523180-3d78-11eb-8015-7ed4929ea19d.png)
LICENSE_URL
is provided, it will look like this:After![image](https://user-images.githubusercontent.com/108608/102010357-8d3eb900-3d78-11eb-8147-240248e28fa1.png)
LICENSE_URL
is set, not givingx-accept-license
header will receive:Only after providing correct![image](https://user-images.githubusercontent.com/108608/102010420-e3136100-3d78-11eb-9b8a-7aca6a66a47d.png)
x-accept-license
can users use the API: