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

貢獻者指南