When I run pg_featureserv in read-only mode, and try to perform a POST request, I get the expected 405 Method Not Allowed error.
However, in the response, the access-control-allow-methods header has a value that seems wrong
access-control-allow-methods: GET, PUT, POST, DELETE, HEAD, OPTIONS
In read-only mode, there should not be PUT, POST and DELETE.
When I run
pg_featureserv
in read-only mode, and try to perform aPOST
request, I get the expected405 Method Not Allowed
error.However, in the response, the
access-control-allow-methods
header has a value that seems wrongaccess-control-allow-methods: GET, PUT, POST, DELETE, HEAD, OPTIONS