vercel/serve

Allow removal of a header

Open

#438 opened on Jun 21, 2018

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

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