[wp-trac] [WordPress Trac] #34841: Support for registering HEAD callback in REST API
WordPress Trac
noreply at wordpress.org
Thu Dec 3 16:39:17 UTC 2015
#34841: Support for registering HEAD callback in REST API
-----------------------------+----------------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: REST API | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
-----------------------------+----------------------------
From #34837
It should be possible to register an optional `HEAD` callback for an
endpoint. However, if no `HEAD` callback is provided, the REST API should
fall back to the GET callback.
Discussion: https://wordpress.slack.com/archives/core/p1449160413002916
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34841>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list