JKHeadley/rest-hapi

Support OPTIONS and HEAD verbs

Open

#136 opened on Jul 3, 2018

View on GitHub
 (0 comments) (1 reaction) (0 assignees)JavaScript (156 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (1,181 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Is your feature request related to a problem? Please describe. For integration with upstream/downstream systems, a model's OPTIONS endpoint might need to be customized, say to allow a different CORS response.

HEAD would complete the support for all "read" verbs. It just needs to return what GET will return, minus the payload.

Contributor guide