vercel/serve

Allow removal of a header

Open

#438 建立於 2018年6月21日

在 GitHub 查看
 (8 留言) (2 反應) (0 負責人)TypeScript (8,811 star) (719 fork)batch import
help wantedpatch

描述

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

貢獻者指南

Allow removal of a header · vercel/serve#438 | Good First Issue