cpprestsdk
cpprestsdk copied to clipboard
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and i...
Example header generated by cpprest: ``` Host: 10.32.8.51 Content-Length:130 Content-Type:application/json User-Agent:cpprestsdk/2.10.18 Authorization: Basic YWRtaW46cGFzcw== Connection: Keep-Alive ``` For some header values, there is a space, for others, not. Having no...
When a lambda is passed to pplx::create_task, a copy constructor of the passed variable is executed 5 times when captured.
I followed suggestions in this closed issue: https://github.com/microsoft/cpprestsdk/issues/98, but am still getting a "CORS error". Here is the exact error message shown on the browser: **"Access to XMLHttpRequest at 'http://127.0.0.1:9999/'...
Related to #832. Both `calc_cn_host` in _cpprestsdk/Release/src/http/client/http_client_asio.cpp_ and `winhttp_client::send_request` in _cpprestsdk/Release/src/http/client/http_client_winhttp.cpp_ cause the entire `Host` header value to be compared with the certificate Common Name which causes an SSL handshake...
my program used cpprest on ubuntu 22.04, and it got segmentation fault while running the program. here is the crash program brack trace: #0 0x00007f53caa5dec4 in EVP_KEYMGMT_get0_name () from /lib/x86_64-linux-gnu/libcrypto.so.3...
answering anyones questions or anything! just keep ignoring them
I build cpprestsdk in ubuntu 22.04, it occur error: `eps/cpprestsdk-2.10.19/Release/src/http/common/http_helpers.cpp:91:43: error: ‘%8zX’ directive output may be truncated writing between 8 and 16 bytes into a region of size 9 [-Werror=format-truncation=]...
I built a simple example with sanitizer (added the parameter -fsanitizer = address, undefined in CXX_FLAGS). OS Debian 10.2 (gcc 8.3). > #include #include #include #include #include using namespace utility;...
When I install cpprestsdk with vcpkg as per the docs, I don't get the _ThirdPartyNotices.txt_ from the repo, only _license.txt_ renamed as _copyright_. Would you please update the vcpkg install...
As I tested, I found that cpprestsdk didn't support HTTP proxy server secured by TLS. If I provided a proxy server URI as `https://proxy:443` and captured the traffic, raw HTTP...