JKHeadley/rest-hapi

Support OPTIONS and HEAD verbs

Open

#136 ouverte le 3 juil. 2018

Voir sur GitHub
 (0 commentaires) (1 réaction) (0 assignés)JavaScript (1 181 stars) (156 forks)batch import
enhancementhelp wanted

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.

Guide contributeur