fix(desktop): honour the system proxy in main-process requests (#3270)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-08 03:04:55 +02:00
1 parent 6de6be2358
commit 3071bc7525
16 files changed
+542 -19

No files matched your search

@@ -414,7 +414,7 @@ function contentEncoding(incoming: http.IncomingHttpHeaders): string | null {
return normalized.length === 0 ? null : normalized;
}
function decodedMessageStream(message: http.IncomingMessage, encoding: string | null): Readable {
function decodedMessageStream(message: Readable, encoding: string | null): Readable {
if (encoding == null || encoding === 'identity') {
return message;
}