Opened 3 years ago

#1935 new enhancement

Send cookie headers with HTTP2 Server Push

Reported by: Owned by:
Priority: minor Milestone:
Component: nginx-module Version: 1.17.x
Keywords: http2 server push cookies Cc:
uname -a:
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.

It seems that this is by design. I came across issue #1817 and #1851 and assume that this ticket will be closed as a duplicate.

I wonder if there is some spec text I can refer to that rules out these headers.

Change History (0)

Note: See TracTickets for help on using tickets.