On Thu, Feb 4, 2010 at 23:05, Nelson, Erik - 2
<[email protected]> wrote:
> Jeroen Habraken wrote:
>>I can't reproduce this behaviour with the http::uri parser in netlib
> 0.5,
>>so I'm uncertain where this goes wrong. I've added the test as a
> trivial
>>example of how to use http::uri.
>
> Thanks, but a better test might be something like
>
> string test = "/test?arg=5";
>
> since that's what request.uri produces in this case
>
> Erik
>

Ah, in that case it makes sense, "/test?arg=5" is a relative URI, not
an absolute one, and something we decided not to support in the URI
parser.

Jeroen

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to