You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just like there already are endpoints for get/post/put/patch/delete that only work vor those methods, it would be helpful to have httpbin.org/head that only accepts HEAD requests. Something like this, perhaps?
The tricky part is probably how to include this new endpoint in the flasgger docs. While it's easy to enable HEAD generally, this picks it up for all endpoints that in principle allow HEAD, which are basically all that allow GET -- which creates way too much noise in the docs to be acceptable. With a quick look I could not find a way to "just include HEAD for this one endpoint", but I know basically nothing about flasgger, so I well might have missed something obvious.
Just like there already are endpoints for get/post/put/patch/delete that only work vor those methods, it would be helpful to have httpbin.org/head that only accepts HEAD requests. Something like this, perhaps?
The tricky part is probably how to include this new endpoint in the flasgger docs. While it's easy to enable HEAD generally, this picks it up for all endpoints that in principle allow HEAD, which are basically all that allow GET -- which creates way too much noise in the docs to be acceptable. With a quick look I could not find a way to "just include HEAD for this one endpoint", but I know basically nothing about flasgger, so I well might have missed something obvious.
The text was updated successfully, but these errors were encountered: