summaryrefslogtreecommitdiff
path: root/graphics/asymptote/LspCpp/network/uri/detail/uri_resolve.hpp
blob: 898c6d5423c0329ac163ce14ff94757ef31ebf03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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