Commit graph

13 commits

Author SHA1 Message Date
c086c80ab9 chore: update copyright date 2025-01-02 22:33:29 +01:00
a5f57be4df fix: make res.setHeader, res.removeHeader, res.writeHead, res.end, res.write methods return values 2025-01-02 22:30:53 +01:00
f09a174dca feat: add response header ignoring 2024-12-24 12:49:12 +01:00
fb19abc550 fix: add support for res.setHeader and res.removeHeader methods 2024-12-21 22:40:43 +01:00
ec2c148681 test: add missing res.write() mock function 2024-12-20 16:32:52 +01:00
633cff1235 fix: fix empty page cache when writing the response without using piping 2024-12-20 16:27:08 +01:00
b8d742c983 fix: write HTTP status code message when the second property of res.writeHead isn't an object 2024-12-19 22:42:06 +01:00
fc4b89c6bd fix: set written status code and X-SVRJS-Cache header when no header is passed to res.writeHead() 2024-12-19 22:35:13 +01:00
ed53ea2061 fix: fix the cache mod not working in Bun, because of extraneous res.writeHead operation 2024-12-19 22:33:01 +01:00
ee8bcb1e60 fix: fix the wrong header name for HTTP authentication 2024-12-18 19:11:47 +01:00
3fc7b30ccd fix: fix header name casing inconsistencies causing wrong caching behavior 2024-12-18 19:11:01 +01:00
5b5f7bb0e7 feat: add support for "s-maxage" directive in "Cache-Control" header 2024-12-15 20:47:38 +01:00
e59d95bce0 chore: init 2024-12-15 19:21:25 +01:00