1. HTTP (Hypertext Transfer Protocol)

  1. HTTP Headers

  1. Link
    1. Overview table
    2. Parsing
      1. Node.js
    3. Syntax
      1. Example

Link

Specifies a link relationship between documents.

Link typically specifies a relationship @rel from the current document to another document; Link can also be used to specify a relationship @rev from other documents to this one, or between any two documents using @about.

Links found in this header have the same semantic meaning as links found in hypermedia (HTML) documents themselves.

Overview table

Name
Link
Description
Attaches a link to the message.
Direction
Both
Specification
RFC 7231: Web Linking

Parsing

Node.js

Syntax

Link       = #link-value
link-value = "<" URI-Reference ">" *( OWS ";" OWS link-param )
link-param = token BWS [ "=" BWS ( token / quoted-string ) ]

Example

Link: <http://example.com/TheBook/chapter2> rel="previous"; title="previous chapter"