vercel/serve

Allow removal of a header

Open

#438 opened on Jun 21, 2018

View on GitHub
 (8 comments) (2 reactions) (0 assignees)TypeScript (719 forks)batch import
help wantedpatch

Repository metrics

Stars
 (8,811 stars)
PR merge metrics
 (Avg merge 45d 1h) (2 merged PRs in 30d)

Description

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

Contributor guide