vercel/serve

Allow removal of a header

オープン

#438 opened on 2018/06/21

 (8 件のコメント) (2 件のリアクション) (0 人の担当者)TypeScript (719 件のフォーク)batch import
help wantedpatch

Repository metrics

Stars
 (8,811 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド