On 2024/10/02 14:33:28 Christopher Schultz wrote: > Michael, > > On 10/2/24 07:00, Michael Osipov wrote: > > [...] > > > >> $ curl --negotiate -u : -X DELETE > >> 'https://example.com/backend-dev/dav/log/sadfs' --verbose > >> ...* Request completely sent off > >> < HTTP/1.1 405 > > Method not allowed: DELETE > > >> < Date: Wed, 02 Oct 2024 10:59:10 GMT > >> < Server: Apache > >> < X-Frame-Options: SAMEORIGIN > >> < Correlation-Id: Zv0nfp0p3XwFWtOGfc5vXAAAARQ > >> < Cache-Control: private > >> < WWW-Authenticate: Negotiate oY... > >> < Allow: OPTIONS, GET, POST, HEAD, DELETE, PUT, LOCK, UNLOCK, PROPPATCH, > >> COPY, MOVE, PROPFIND > > Allowed methods: ... DELETE ... > > LOL > > Janky IMO.
The problem with sendNotAllowed() method is that the resource does not have a #isReadOnly() method. It only tries to satisfy RFC 9110 regards to WebDAV. There is definitively room for improvement, please file a BZ issue, otherwise it will be forgotten. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org