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
Is your feature request related to a problem? Please describe.
At the moment if we send request to pgagroal /metrics endpoint using any method except 'GET', we receive 403 Forbidden. 403 indicates that the server understands the request but refuses to authorize. That is not exactly the case with the pgagroal exporter.
Describe the solution you'd like
Introduce new check in the code that will allow to return 400 Bad Request for any method except 'GET'.
Is your feature request related to a problem? Please describe.
At the moment if we send request to pgagroal
/metrics
endpoint using any method except 'GET', we receive 403 Forbidden. 403 indicates that the server understands the request but refuses to authorize. That is not exactly the case with the pgagroal exporter.Describe the solution you'd like
Introduce new check in the code that will allow to return 400 Bad Request for any method except 'GET'.
Ref: Hypertext Transfer Protocol -- HTTP/1.1
The text was updated successfully, but these errors were encountered: