One link of a Link header: the URI reference target (between < and
>), its relation types rel, and every other parameter by name (anchor,
title, hreflang...). A parameter without a value, such as nopush, is
"".
Attributes#
| Attribute | Type | Description |
|---|---|---|
target | str | |
rel | tuple[str, ...] = () | |
params | Mapping[str, str] = field(default_factory=(dict[str, str]), hash=False) |
Functions#
__init__#
__init__(target, rel=(), params=dict[str, str]()) -> None| Parameter | Type | Description |
|---|---|---|
target | str | |
rel | tuple[str, ...] = () | |
params | Mapping[str, str] = dict[str, str]() |