Support HTTP Headers in gatsby serve
#38530
Unanswered
techfg
asked this question in
Ideas / Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background
Neither
gatsby serve
norgatsby develop
emit headers (from the newheaders
configuration property). Givenheaders
is now a core feature of Gatsby, these headers should be emitted at least ingatsby serve
and possiblygatsby develop
(if reasonable).Approaches
While I haven't tested, it appears that for DSG & SSR pages,
serve
will emit headers (via serverDataHeaders). Similar approach can be leveraged for SSG along with ensuring that all headers are property emitted for DSG & SSR.Thoughts/input welcome!
Beta Was this translation helpful? Give feedback.
All reactions