Update redbean to compress responses without explicit content-type

This commit is contained in:
Paul Kulchenko 2022-10-20 18:01:58 -07:00
parent ef9776755e
commit 01e2b7d1cf

View file

@ -6180,7 +6180,9 @@ static char *SetStatus(unsigned code, const char *reason) {
}
cpm.statuscode = code;
cpm.hascontenttype = false;
cpm.istext = false; // reset, as the headers are reset
// reset, as the headers are reset
// istext is -1 by default to interpret as true when not set
cpm.istext = -1;
cpm.gotxcontenttypeoptions = 0;
cpm.gotcachecontrol = 0;
cpm.referrerpolicy = 0;