cpp-netlib URI
C++ C
Pull request Compare This branch is even with glynos:master.
Latest commit 2446c01 Nov 24, 2016 @glynos glynos committed on GitHub Merge pull request #92 from glynos/clear_query_params
Fixed bug in optional assignment operator.


C++ Network URI


This project contains the source code that was originally meant to track the proposal for a C++ URI at http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3975.html

This package provides:

  • A network::uri class that implements a generic URI parser, compatible with RFC 3986 and RFC 3987
  • Accessors to the underlying URI parts
  • A range-compatible interface
  • Methods to normalize and compare URIs
  • Percent encoding and decoding functions
  • A URI builder to build consistent URIs from parts, including case, percent encoding and path normalization

Building the project

Building with CMake

$ mkdir _build
$ cd _build
$ cmake ..
$ make -j4

Running the tests with CTest

$ ctest


This library is released under the Boost Software License (please see http://boost.org/LICENSE_1_0.txt or the accompanying LICENSE_1_0.txt file for the full text.


Any questions about this library can be addressed to the cpp-netlib developers mailing list. Issues can be filed using Github at http://github.com/cpp-netlib/uri/issues.