Skip to content

Commit f9774be

Browse files
author
Wolfgang Stöggl
committed
Fix cnn outside test
- http://www.cnn.com redirects users from countries outside of the US to the "http://edition.cnn.com/" drop location - Use http://edition.cnn.com, which does not redirect - even in the US - Fix microsoft#27
1 parent 0a9a84c commit f9774be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Release/tests/functional/http/client/outside_tests.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ TEST_FIXTURE(uri_address, outside_cnn_dot_com)
3939
{
4040
handle_timeout([]
4141
{
42-
http_client client(U("http://www.cnn.com"));
42+
// http://www.cnn.com redirects users from countries outside of the US to the "http://edition.cnn.com/" drop location
43+
http_client client(U("http://edition.cnn.com"));
4344

4445
// CNN's main page doesn't use chunked transfer encoding.
4546
http_response response = client.request(methods::GET).get();

0 commit comments

Comments
 (0)