This repository has been archived by the owner on Feb 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Generate Link
header with as
attribute.
#520
Labels
enhancement
New feature or request
Comments
Further investigation revealed:
I suggest we wait until JSDOM supports the additional |
Or we could have a mapping
and so on: https://www.w3.org/TR/preload/#as-attribute |
good point. but then we loose control what we want to push. automagic vs explicit, I lean towards explicit. |
Is there a JSDOM issue for the |
|
stefan-guggisberg
added a commit
that referenced
this issue
Jul 1, 2020
* feat(add-headers): support meta http-equiv Link tag #520 * test(testhtmlproduction): fix X-ESI test failure, skip test for 'as' attribute * fix(add-headers): thanks, lgtm! * docs: added link to JSDOM issue * test: fixed tests * test: code coverage * chore(docs): updating documentation [skip ci] Co-authored-by: CircleCi Build <circleci@example.com> Co-authored-by: Tobias Bocanegra <tripodsan@users.noreply.github.com>
With the changes in ad22823 the |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A
Link
response header is automatically generated from<link />
tags (see #122). However, onlyhref
andrel
attributes are handled. Theas
attribute is ignored.See:
https://www.w3.org/TR/preload/#as-attribute
https://html.spec.whatwg.org/multipage/semantics.html#attr-link-as
The text was updated successfully, but these errors were encountered: