vercel/serve

Allow removal of a header

Open

#438 aperta il 21 giu 2018

Vedi su GitHub
 (8 commenti) (2 reazioni) (0 assegnatari)TypeScript (719 fork)batch import
help wantedpatch

Metriche repository

Star
 (8811 star)
Metriche merge PR
 (Merge medio 45g 1h) (2 PR mergiate in 30 g)

Descrizione

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

Guida contributor