We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cf3daa commit 3e5f9c1Copy full SHA for 3e5f9c1
src/server/components/charts-engine/components/processor/data-fetcher.ts
@@ -738,6 +738,9 @@ export class DataFetcher {
738
];
739
if (Array.isArray(proxyHeaders)) {
740
proxyHeaders.forEach((headerName) => {
741
+ if (sourceConfig.isExternal && headerName.toLowerCase().startsWith('x-dl')) {
742
+ return;
743
+ }
744
if (subrequestHeaders[headerName]) {
745
headers[headerName] = subrequestHeaders[headerName];
746
}
src/server/components/charts-engine/types.ts
@@ -200,6 +200,7 @@ export type SourceConfig = {
200
201
args?: Record<string, string | number | (string | number)[]>;
202
maxRedirects?: number;
203
+ isExternal?: boolean;
204
};
205
206
export enum MiddlewareStage {
0 commit comments