I am looking for a C++ library to handle URLs/URIs, mainly HTTP URLs. I only want the URI text handling, not any network operation. I know of Poco::URI but IIRC one has to use the whole framework for it to work properly, so I would prefer something smaller and/or standalone. Is there any such other thing?
Asked
Active
Viewed 607 times
0
-
What options did [Google](https://www.google.com/#output=search&q=C%2B%2B+parse+uri) give you? – Captain Obvlious Jun 03 '13 at 12:32
-
possible duplicate of [Easy way to parse a url in C++ cross platform?](http://stackoverflow.com/questions/2616011/easy-way-to-parse-a-url-in-c-cross-platform) – Captain Obvlious Jun 03 '13 at 12:32
1 Answers
0
Boost.Spirit, released under the Boost Software License allows you to do this. The library is cpp-netlib which you can find the documentation for at http://cpp-netlib.github.com/ .
The relevant type you'll want to use is boost::network::http::uri
.