Opened 6 months ago
Send cookie headers with HTTP2 Server Push
|Reported by:||https://stackoverflow.com/users/769308/jaap3||Owned by:|
|Keywords:||http2 server push cookies||Cc:|
|nginx -V:||nginx version: nginx/1.16.1|
I was experimenting with the use of HTTP2 Server Push to accelerate redirects by adding a
Link: <location>; as=document; rel=preload to redirect responses.
I had some success, but noticed unwanted behavior on redirects to resources that require specific cookies (e.g. a session identifier).
It turns out that nginx doesn't forward the cookie header to the resource that's being pushed.
I wonder if there is some spec text I can refer to that rules out these headers.