Closed aaharu closed 11 months ago
Vary header has be set by setResponseHeader function. However, it's means that if the Vary header is already set, its values are gone. https://github.com/unjs/ipx/blob/v2.0.0-0/src/server.ts#L68
Vary
setResponseHeader
I think appendResponseHeader is more appropriate.
appendResponseHeader
https://github.com/unjs/ipx/commit/fb3cf1d0e1d2bc9cedf94f0a2e2896d6388ea675 (and https://github.com/unjs/ipx/commit/ce0cf0e7dd8c2427a4cc6336eea78e339ffd7829)
Describe the feature
Vary
header has be set bysetResponseHeader
function. However, it's means that if the Vary header is already set, its values are gone. https://github.com/unjs/ipx/blob/v2.0.0-0/src/server.ts#L68I think
appendResponseHeader
is more appropriate.Additional information