Re: [PATCH] debuginfod: add CORS support

2024-12-05 Thread Mark Wielaard
Hi Frank, Hi Henning, On Wed, 2024-12-04 at 19:40 -0500, Frank Ch. Eigler wrote: > > This is my first attempt at implementing CORS support in debuginfod. > > Looks good to me really; will wait for a glance from others. So the code looks correct if you want to handle the OPTION command and add a

Re: [PATCH] debuginfod: add CORS support

2024-12-05 Thread Henning Meyer
Hi Mark, it is the Cross-Origin-Resource-Sharing mechanism explained at https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS 1. by default JavaScript code from Website A cannot request arbitrary resources from website B,    these are called cross-origin-requests 2. The browser performs what