Utilizing cors and headers, we’ve been able to make a pretty solid API endpoint for our needs. Love the work external developers are doing on these fantastic plugins! Caddy has a fantastic community.
Recently, we’ve found the need for a Access-Control-Allow-Headers "If-Match" in our header section. However, I only want to send this header for specific incoming methods, in this case, only on HEAD requests do we send back this header.
If anyone has any insight on how to accomplish this, it would be much appreciated!