Add cross-origin resource sharing (CORS) headers to responses
Adding CORS headers to responses make the service usable from a web browser using AJAX requests.
This PR adds CORS headers to every response, to any client.
Edited by Thomas Pétillon
You don't pay for Framagit, because it is funded by donations to Framasoft. Our not-for-profit needs any support you can afford: support.framasoft.org.
Framagit est gratuit car il est financé par les dons à Framasoft. Notre association a besoin de votre soutien sur soutenir.framasoft.org.
Adding CORS headers to responses make the service usable from a web browser using AJAX requests.
This PR adds CORS headers to every response, to any client.