Project

General

Profile

Actions

Bug #1334

closed

mod_webdav returns Not Implemented when DELETE fails on permissions error

Added by Anonymous over 16 years ago. Updated almost 8 years ago.

Status:
Obsolete
Priority:
Low
Category:
mod_webdav
Target version:
ASK QUESTIONS IN Forums:

Description

When trying to delete a file using the webdav DELETE command, lighttpd returns Not Implemented if it can't delete the file due to incorrect permissions on the file.

When permissions are corrected, it behaves properly and returns a No Data status code.

Here is the capture of the exchange:

########
T client.ip:62652 -> server.ip:1715 AP
DELETE /archive/509/15/43/file.txt HTTP/1.1..TE: deflate,gzip;q=0.3..Connection: TE, close..Authorization: Basic YXJjaGasdadsfgsdfjsadfwtgwgfsdfafsdfsfcndz..Host: server.host:1715..User-Agent: DAV.pm/v0.31..Content-Length: 0.... ########
T server.ip:1715 > client.ip:62652 AP
HTTP/1.1 501 Not Implemented..Connection: close..Content-Type: text/html..Content-Length: 357..Date: Sun, 02 Sep 2007 21:56:35 GMT..Server: lighttp
d.....<DOCTYPE html PUBLIC "
//W3C//DTD XHTML 1.0 Transitional//EN". "http://www.w3.org/TR/xhtm
l1/DTD/xhtml1-transitional.dtd">.<html xmlns="http://www.w3.org/1999/xhtml&quot; xml:lang="en" lang="en">. <head>. <title>501 - Not Implemented</title>
. </head>. <body>. <h1>501 - Not Implemented</h1>. </body>.</html>. ########

According to http://www.webdav.org/specs/rfc2518.html#METHOD_DELETE we should probably return something else for this error, maybe a 403?

-- anthony

Actions #1

Updated by gstrauss almost 8 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes

fixed in lighttpd 1.4.40

Actions #2

Updated by gstrauss almost 8 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom