vercel/serve

Allow removal of a header

Open

#438 opened on 2018年6月21日

GitHub で見る
 (8 comments) (2 reactions) (0 assignees)TypeScript (719 forks)batch import
help wantedpatch

Repository metrics

Stars
 (8,811 stars)
PR merge metrics
 (平均マージ 45d 1h) (30d で 2 merged PRs)

説明

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

コントリビューターガイド