summaryrefslogtreecommitdiff
path: root/graphics/asymptote/LspCpp/third_party/uri/src/detail/uri_resolve.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/LspCpp/third_party/uri/src/detail/uri_resolve.hpp')
-rw-r--r--graphics/asymptote/LspCpp/third_party/uri/src/detail/uri_resolve.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/asymptote/LspCpp/third_party/uri/src/detail/uri_resolve.hpp b/graphics/asymptote/LspCpp/third_party/uri/src/detail/uri_resolve.hpp
new file mode 100644
index 0000000000..898c6d5423
--- /dev/null
+++ b/graphics/asymptote/LspCpp/third_party/uri/src/detail/uri_resolve.hpp
@@ -0,0 +1,22 @@
+// Copyright 2013-2016 Glyn Matthews.
+// Copyright 2013 Hannes Kamecke.
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef NETWORK_DETAIL_RESOLVE_INC
+#define NETWORK_DETAIL_RESOLVE_INC
+
+#include <network/uri/uri.hpp>
+
+namespace network {
+namespace detail {
+// implementation of http://tools.ietf.org/html/rfc3986#section-5.2.4
+std::string remove_dot_segments(string_view input);
+
+// implementation of http://tools.ietf.org/html/rfc3986#section-5.2.3
+std::string merge_paths(const uri &base, const uri &reference);
+} // namespace detail
+} // namespace network
+
+#endif // NETWORK_DETAIL_RESOLVE_INC