mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
Networking: don't enable HTTP compression if server doesn't support it
This commit is contained in:
@@ -25,7 +25,7 @@ typedef struct FFNetworkingState {
|
||||
|
||||
uint32_t timeout;
|
||||
bool ipv6;
|
||||
bool compression;
|
||||
bool compression; // if true, HTTP content compression will be enabled if supported
|
||||
} FFNetworkingState;
|
||||
|
||||
const char* ffNetworkingSendHttpRequest(FFNetworkingState* state, const char* host, const char* path, const char* headers);
|
||||
|
||||
Reference in New Issue
Block a user