diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-22 22:17:53 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-22 22:24:27 +0100 |
commit | 6f68626e202f93991f678086634692e6366958c6 (patch) | |
tree | 411bf8bf78aaae5dc391344370cbb2350de4b884 /src/loader/response.nim | |
parent | b2da391458bca7b7f38fc9f03925d704841165c8 (diff) | |
download | chawan-6f68626e202f93991f678086634692e6366958c6.tar.gz |
buffer: clean up contentType
This fixes a bug where setContentType would call setHTML twice, which messed up charsets and probably a couple more things. As a bonus, it allows us to pass around the content type less. In fact, buffer does not have to know its exact content type, just whether it is in HTML mode or not. So that's all we tell it now; only container still keeps track of the content type (as it should).
Diffstat (limited to 'src/loader/response.nim')
0 files changed, 0 insertions, 0 deletions