vercel/serve

Allow removal of a header

Open

#438 geöffnet am 21. Juni 2018

Auf GitHub ansehen
 (8 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)TypeScript (8.811 Stars) (719 Forks)batch import
help wantedpatch

Beschreibung

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