NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
177 stars 95 forks source link

Disable OPTIONS nad HEAD methods if not needed #861

Closed cdienger closed 2 years ago

cdienger commented 2 years ago

curl -XOPTIONS https://127.0.0.1:5693 -k -v

shows that OPTIONS and HEAD methods are enabled. Can these be disabled if not needed?

jomann09 commented 2 years ago

This is a duplicate of #819 we cannot disable options due to flask not allowing it to be disabled (maybe some day in the future? At the moment it does not allow us to.