[hunchentoot-devel] Unexpected result from CL-WEBDAV

Ron Garret ron at flownet.com
Sun Sep 12 07:06:06 UTC 2010


I tried the following to create a write-only DAV directory:

(defmethod accept-request-p ((resource-class (eql 'authorized-file-resource)) request)
  "We just use the method for FILE-RESOURCE."
  (if (eql (tbnl:request-method*) :get)
    nil
    (accept-request-p 'file-resource request)))

but instead of getting a "resource not available" when I try to get a file I instead get the hunchentoot default page.  Needless to say, this is not what I expected.  Is this a bug in cl-webdav, or a bug in my expectations?

Thanks,
rg





More information about the Tbnl-devel mailing list