Thank you for the write-up. For anyone else that is looking at this and wondering why your headers are still not being sent in the response like I was, it's important to note that these headers will not be returned on a resource route. Instead of using `data`, you'll need to return a new Response object with headers.
Comment
Thank you for the write-up. For anyone else that is looking at this and wondering why your headers are still not being sent in the response like I was, it's important to note that these headers will not be returned on a resource route. Instead of using `data`, you'll need to return a new Response object with headers.