Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292981

Pass Link headers in to Serializer

$
0
0

Problem/Motivation

Link Headers can be used to add relations to a message independent of the format used. For example, Link: <http://ex.org/rest/types/node/article>; rel="type"

Currently, there is no way to access the information from those headers once you are serializing/deserializing a request.

Proposed resolution

In RequestHandler, extract the Link headers from the request and pass them in to the Serializer using the $context.


Viewing all articles
Browse latest Browse all 292981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>