diff --git a/src/LiveComponent/assets/src/Backend/RequestBuilder.ts b/src/LiveComponent/assets/src/Backend/RequestBuilder.ts index 2fe6e3b0254..d43dfdb5bca 100644 --- a/src/LiveComponent/assets/src/Backend/RequestBuilder.ts +++ b/src/LiveComponent/assets/src/Backend/RequestBuilder.ts @@ -25,6 +25,7 @@ export default class { const fetchOptions: RequestInit = {}; fetchOptions.headers = { Accept: 'application/vnd.live-component+html', + 'X-Requested-With': 'XMLHttpRequest', }; const totalFiles = Object.entries(files).reduce(