Transfer-Encoding implemented

This commit is contained in:
2021-05-05 21:30:44 +02:00
parent 45c5f20345
commit ecd4f16afe
4 changed files with 61 additions and 23 deletions
+1
View File
@@ -104,6 +104,7 @@ int url_decode(const char *str, char *dec, long *size) {
}
int mime_is_compressible(const char *type) {
if (type == NULL) return 0;
char type_parsed[64];
strncpy(type_parsed, type, sizeof(type_parsed));
char *pos = strchr(type_parsed, ';');