We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e150dfc commit 6ca83acCopy full SHA for 6ca83ac
Release/tests/functional/http/client/outside_tests.cpp
@@ -28,6 +28,7 @@
28
#include <winhttp.h>
29
#endif
30
#include "cpprest/rawptrstream.h"
31
+#include "cpprest/details/http_helpers.h"
32
#include "os_utilities.h"
33
#include <stdexcept>
34
@@ -65,6 +66,11 @@ TEST_FIXTURE(uri_address, outside_cnn_dot_com)
65
66
67
TEST_FIXTURE(uri_address, outside_wikipedia_compressed_http_response)
68
{
69
+ if (web::http::details::compression::stream_decompressor::is_supported() == false)
70
+ {
71
+ // On platforms which do not support compressed http, nothing to check.
72
+ return;
73
+ }
74
http_client_config config;
75
config.set_request_compressed_response(true);
76
0 commit comments