vercel/serve

Allow removal of a header

Open

#438 ouverte le 21 juin 2018

Voir sur GitHub
 (8 commentaires) (2 réactions) (0 assignés)TypeScript (719 forks)batch import
help wantedpatch

Métriques du dépôt

Stars
 (8 811 stars)
Métriques de merge PR
 (Merge moyen 45j 1h) (2 PRs mergées en 30 j)

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

Guide contributeur