Append meta and other field value in http headers for media request
o
We are integrating Umbraco with Cludo search and would like to add custom header when indexing media items. How can I append meta and other custom info into http header for media request? For examp,e, when I try to access a pdf through URL, it would output like following information in header: GET /media/[guid]/documents/file.pdf X-Search-Content-Type: Document X-Search-Topic:Fees and Billing|Taxes|Jobs X-Search-Department:ACTT X-Search-Title:Some text with custom title X-Search-Description:Some description. X-Search-Image:/assets/search-icon-default.svg X-Search-Member-Content:1 X-Search-Security-Roles:Physicians|Students X-Search-File-Size-Bytes:12345678 X-Search-File-Type:PDF X-Search-Date: 1969-11-05T13:15:30Z X-Search-Indexed-Date: 2023-11-05T13:15:30Z X-Search-Indexed-GUID: 1d3ac323-14ef-4a99-9b4d-6153eeb239f X-Search-Indexed-Version-GUID: 2d3ac323-14ef-4a99-9b4d-6153eeb239f
m
Maybe something like this?
2 Views