D24316: Consider the usage of WebDAV methods sufficient for assuming WebDAV

David Faure noreply at phabricator.kde.org
Wed Oct 23 08:22:45 BST 2019


dfaure added a comment.


  Can I just ignore the Depth from the custom http headers instead?
  
    --- i/src/ioslaves/http/http.cpp
    +++ w/src/ioslaves/http/http.cpp
    @@ -172,7 +172,8 @@ static QString sanitizeCustomHTTPHeader(const QString &_header)
             if (!header.contains(QLatin1Char(':')) ||
                     header.startsWith(QLatin1String("host"), Qt::CaseInsensitive) ||
                     header.startsWith(QLatin1String("proxy-authorization"), Qt::CaseInsensitive) ||
    -                header.startsWith(QLatin1String("via"), Qt::CaseInsensitive)) {
    +                header.startsWith(QLatin1String("via"), Qt::CaseInsensitive) ||
    +                header.startsWith(QLatin1String("depth"), Qt::CaseInsensitive)) {
                 continue;
             }

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D24316

To: vkrause, dfaure
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191023/b30c7051/attachment.html>


More information about the Kde-frameworks-devel mailing list