| 1 |
// Copyright 2013-2016 Glyn Matthews. |
| 2 |
// Copyright 2013 Hannes Kamecke. |
| 3 |
// Distributed under the Boost Software License, Version 1.0. |
| 4 |
// (See accompanying file LICENSE_1_0.txt or copy at |
| 5 |
// http://www.boost.org/LICENSE_1_0.txt) |
| 6 |
|
| 7 |
#ifndef NETWORK_DETAIL_RESOLVE_INC |
| 8 |
#define NETWORK_DETAIL_RESOLVE_INC |
| 9 |
|
| 10 |
#include <network/uri/uri.hpp> |
| 11 |
|
| 12 |
namespace network { |
| 13 |
namespace detail { |
| 14 |
// implementation of http://tools.ietf.org/html/rfc3986#section-5.2.4 |
| 15 |
std::string remove_dot_segments(string_view input); |
| 16 |
|
| 17 |
// implementation of http://tools.ietf.org/html/rfc3986#section-5.2.3 |
| 18 |
std::string merge_paths(const uri &base, const uri &reference); |
| 19 |
} // namespace detail |
| 20 |
} // namespace network |
| 21 |
|
| 22 |
#endif // NETWORK_DETAIL_RESOLVE_INC |