Skip to content

Defer push response headers in http2 #36

@BernzSed

Description

@BernzSed

Thanks for giving us such an awesome node module!

In HTTP/2, the response headers and status code for a pushed resource shouldn't have to be sent immediately.
It would be very useful if we had the option to defer sending the response headers and status code, giving us the chance to fetch them from another server along with the response body.

The relevant code seems to be in http2/framer.js, in pushFrame(), in the callback to _checkPush. The status code and response headers are compressed and sent immediately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions