vercel/serve

Allow removal of a header

Open

#438 创建于 2018年6月21日

在 GitHub 查看
 (8 评论) (2 反应) (0 负责人)TypeScript (719 fork)batch import
help wantedpatch

仓库指标

Star
 (8,811 star)
PR 合并指标
 (平均合并 45天 1小时) (30 天内合并 2 个 PR)

描述

I'd like to be able to set a default header and then override it to nonexistance. When I do the below, a header with null shows up, versus the header disappearing. Ditto with max-age=0. And when I do "headers": [], it gets 86400 from the first rule.

image

image

cc @leo

贡献者指南