mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-02 17:28:30 +00:00
Make redbean compress w/o explicit content-type (#671)
This commit is contained in:
parent
da8f5009fd
commit
d7b88734cd
2 changed files with 21 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue