mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(desktop): honour the system proxy in main-process requests (#3270)
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user