Networking: don't enable HTTP compression if server doesn't support it

This commit is contained in:
Carter Li
2025-03-18 09:56:35 +08:00
parent 28bc97b92b
commit 3489cc8fe8
4 changed files with 44 additions and 29 deletions
+1 -1
View File
@@ -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);