diff OrthancFramework/Sources/Toolbox.h @ 5143:95d8e0540219

avoid double '/' in HttpClient uri
author Alain Mazy <am@osimis.io>
date Wed, 25 Jan 2023 17:56:09 +0100
parents d0c34145320c
children de7a639c5ad2
line wrap: on
line diff
--- a/OrthancFramework/Sources/Toolbox.h	Tue Jan 24 15:05:40 2023 +0100
+++ b/OrthancFramework/Sources/Toolbox.h	Wed Jan 25 17:56:09 2023 +0100
@@ -119,6 +119,8 @@
     static std::string FlattenUri(const UriComponents& components,
                                   size_t fromLevel = 0);
 
+    static std::string JoinUri(const std::string& base, const std::string& uri);
+    
 #if ORTHANC_ENABLE_MD5 == 1
     static void ComputeMD5(std::string& result,
                            const std::string& data);