Skip to content

cpp-netlib/uri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9f47767 · Mar 23, 2020
Mar 22, 2020
Mar 22, 2020
Mar 23, 2020
Nov 24, 2018
Oct 18, 2018
Mar 22, 2020
Mar 22, 2020
Feb 24, 2016
May 14, 2016
Nov 24, 2018
Mar 22, 2020
Apr 12, 2016
Jan 5, 2013
Oct 31, 2019

Repository files navigation

Deprecation warning

This library is still missing some features (including full Unicode support), and does not work on some of the newest compiler versions. Therefore, please prefer to use the WhatWG URL implementation that is intended to supersede this library.

C++ Network URI

https://travis-ci.org/cpp-netlib/uri.png?branch=master https://ci.appveyor.com/api/projects/status/rjt0nbbtdhsjdjv4?svg=true

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

License

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.

Contact

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.