JKHeadley/rest-hapi

Support OPTIONS and HEAD verbs

Aperta

#136 aperta il 3 lug 2018

 (0 commenti) (1 reazione) (0 assegnatari)JavaScript (155 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (1181 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor