Code Monkey home page Code Monkey logo

Comments (5)

wader avatar wader commented on July 27, 2024 3

Did a quick test and it seems to return 404 for me or do i misunderstand? about the log message, the error passed to the Logger callback is a &os.PathError{Op:"stat", Path:"root/asdsad", Err:0x2}, maybe we can filter out based on that?

from caddy-webdav.

 avatar commented on July 27, 2024 2

Did a little more digging. It looks like this is either an issue of the webdav library not conforming strictly to the spec, or my WebDAV client interpreting the spec too narrowly. Either way not a caddy plugin issue so closing.

Like @wader says it is returning a 404. Looks like the issue is either that it should be responding with an XML body along the lines of the below, or the client is wrongly expecting it to.

<?xml version="1.0" encoding="utf-8"?><d:error xmlns:d="DAV:"></d:error>

from caddy-webdav.

 avatar commented on July 27, 2024 1

After trying to read the RFC tonight, I don't think it knows either. Who's idea was it to write a protocol spec in unstructured natural language? 😋

from caddy-webdav.

mholt avatar mholt commented on July 27, 2024

Oh, yeah, hmm is there a way we can discern the error from the library and handle it appropriately?

from caddy-webdav.

mholt avatar mholt commented on July 27, 2024

Thanks for looking into it more! If that's the case, then I agree the issue is either in the upstream lib or the downstream client. But I don't know the WebDAV protocol enough to know the answer without more research.

from caddy-webdav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.