hi,

sorry for the mess with the PR's, first time and still getting familiar
with how this works, didn't expect that the commit would be added
automatically:D Ok i fixed the test case, works on VS2008 now too, and
makes more sense since at lest the wstring is now readable. I hope the fix
for the status code that i couldn't live without since it fixes compilation
is not an issue:)


2013/12/4 Rûdolfs Bundulis <rudolfs.bundulis@gmail.com>

> ahh yeah, sure, i'll rewrite that, sorry that i didn't take that into
> account
>
>
> 2013/12/4 Dean Michael Berris <notifications@github.com>
>
>> In libs/network/test/http/server_header_parser_test.cpp:
>>
>> > +*  for asynchronous connection
>> > +*
>> > +*/
>> > +
>> > +namespace tags = boost::network::tags;
>> > +namespace logic = boost::logic;
>> > +namespace fusion = boost::fusion;
>> > +using namespace boost::network::http;
>> > +
>> > +BOOST_AUTO_TEST_CASE(async_connection_parse_headers) {
>> > +    request_header_narrow utf8_header = { "X-Utf8-Test-Header", "R\uc5abdolfs" };
>> > +    std::string valid_http_request;
>> > +    valid_http_request.append(utf8_header.name).append(": ").append(utf8_header.value).append("\r\n\r\n");
>> > +    std::vector<request_header_narrow> headers;
>> > +    parse_headers(valid_http_request, headers);
>> > +    std::vector<request_header_narrow>::iterator utf8_header_iterator = std::find_if(headers.begin(), headers.end(), [&utf8_header, &utf8_header_iterator](request_header_narrow& header)
>>
>> Unfortunately, 0.11.0 can't use C++11 features -- we reserve any C++11
>> support for 1.x releases (on master). Can you make this work without C++11
>> language support?
>>
>> --
>> Reply to this email directly or view it on GitHub<https://github.com/cpp-netlib/cpp-netlib/pull/341/files#r8084812>
>> .
>>
>
>