-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
Lines 425 to 430 in ba276fd
| if (shouldExposeHead && isGetRoute && !isHeadRoute && !hasHEADHandler) { | |
| const onSendHandlers = parseHeadOnSendHandlers(headOpts.onSend) | |
| prepareRoute.call(this, { method: 'HEAD', url: path, options: { ...headOpts, onSend: onSendHandlers }, isFastify: true }) | |
| } else if (hasHEADHandler && exposeHeadRoute) { | |
| FSTDEP007() | |
| } |
I am confused by that deprecation. It was introduced in #4052.
What is the expected behavior if the deprecation is removed? It seems like there are two governing options, which one should be removed?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels