diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-10-11 20:34:30 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-11-01 18:48:35 +0100 |
commit | 2785402a4b47cb4d5764d0ad9f1554b579a9e5d2 (patch) | |
tree | e8b7efb758170cf15ca581a9622318fc5acf3ac3 /ucb | |
parent | 08bbf853d52a4a36a223ebbe751bffd7000180ca (diff) |
ucb: webdav-curl: tdf#102499 (1): Add WebDAV test to check HTTP reponse status
codes retry
[ replicate commit e62c02a089e454eeea472e758e113e7e28568a02 ]
Change-Id: Ie8bd0d0363ae3564f3287e928d36277ca48b17de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123491
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-curl/DAVResourceAccess.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav-curl/DAVResourceAccess.hxx b/ucb/source/ucp/webdav-curl/DAVResourceAccess.hxx index 051e53c4c8f5..613953173dbf 100644 --- a/ucb/source/ucp/webdav-curl/DAVResourceAccess.hxx +++ b/ucb/source/ucp/webdav-curl/DAVResourceAccess.hxx @@ -203,13 +203,14 @@ public: css::ucb::WebDAVHTTPMethod eMethod, DAVRequestHeaders & rRequestHeaders ); + /// @throws DAVException + bool handleException(DAVException const& e, int errorCount); + private: const OUString & getRequestURI() const; /// @throws DAVException bool detectRedirectCycle(::std::u16string_view rRedirectURL); /// @throws DAVException - bool handleException(DAVException const& e, int errorCount); - /// @throws DAVException void initialize(); }; |