[wp-trac] [WordPress Trac] #35580: Include auto-discovery header on REST responses
WordPress Trac
noreply at wordpress.org
Fri Jan 22 16:21:30 UTC 2016
#35580: Include auto-discovery header on REST responses
-----------------------------+-----------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.5
Component: REST API | Version:
Severity: normal | Keywords: has-patch
Focuses: |
-----------------------------+-----------------------
Adds `Link` header to REST API responses:
{{{
Link: <http://wordpress-develop.dev/wp-json/>; rel="https://api.w.org/"
}}}
When a client is attempting to auto-discover the API with a HEAD request,
WordPress should always include the `Link` header to orient the client.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35580>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list