vercel/serve

Allow removal of a header

开放

#438 创建于 2018年6月21日

 (8 条评论) (2 个反应) (0 位负责人)TypeScript (719 个派生)batch import
help wantedpatch

仓库指标

星标
 (8,811 个星标)
PR 合并指标
 (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

贡献者指南