response.writeEarlyHints should support all link properties #44843
Copy link
Copy link
Closed
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.httpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.http2Issues and PRs related to the http2 subsystem.Issues and PRs related to the http2 subsystem.
Description
What is the problem this feature will solve?
response.writeEarlyHints currently supports only as, anchor and title.
- The list of all available attributes is available https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attributes.
- The syntax for the link header is available https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link#syntax.
Referencing #44820
What is the feature you are proposing to solve the problem?
To have a feature & stable link header setting through writeEarlyHints API.
What alternatives have you considered?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.httpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.http2Issues and PRs related to the http2 subsystem.Issues and PRs related to the http2 subsystem.
Activity
Trott commentedon Sep 30, 2022
@nodejs/http2
mcollina commentedon Oct 1, 2022
cc @nodejs/http
[-]response.writeEarlyHints should support all style properties[/-][+]response.writeEarlyHints should support all link properties[/+]