gpt4 book ai didi

windows - 在 WebDAV 响应中显示错误描述

转载 作者:可可西里 更新时间:2023-11-01 09:29:52 25 4
gpt4 key购买 nike

我构建了一个 WebDAV 兼容的服务器端应用程序,它连接到 Windows Web 文件夹。当我进行一些手动测试以确认代码执行了它应该执行的操作时,我想知道是否有任何方法可以对服务器遇到的错误进行更详细的描述。

Example: I was trying to do a PUT for a file called 'other' in a collection which contained a collection called 'other'. The method failed for obvious reasons, but the response contained no information that could help the user identify what went wrong.

提前致谢。

PS:我想我可以将描述放在 HTTP 正文中,我认为这对像 cadaver 这样的客户端来说没问题,但这种方法不适用于 Windows WebFolders。

最佳答案

看来我找到了答案。我正在寻找的内容实际上在 WebDAV protocol 中得到了很好的记录。 .

关于windows - 在 WebDAV 响应中显示错误描述,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15875412/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com