mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 19:00:27 +00:00
Update redbean to compress responses without explicit content-type
This commit is contained in:
parent
ef9776755e
commit
01e2b7d1cf
1 changed files with 3 additions and 1 deletions
|
@ -6180,7 +6180,9 @@ static char *SetStatus(unsigned code, const char *reason) {
|
||||||
}
|
}
|
||||||
cpm.statuscode = code;
|
cpm.statuscode = code;
|
||||||
cpm.hascontenttype = false;
|
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.gotxcontenttypeoptions = 0;
|
||||||
cpm.gotcachecontrol = 0;
|
cpm.gotcachecontrol = 0;
|
||||||
cpm.referrerpolicy = 0;
|
cpm.referrerpolicy = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue