New Post: Http digest preemptive authentication
Is it possible for you to first make a request that doesn't contain any payload data to establish the connection and then send after being authenticated? I tried that: it does not work. The same...
View ArticleNew Post: Making connection to Web server
Hi, Thanks again for your outstanding support. I have spent a lot of time to figure out how I can make a connection to our web server using username and password. I only want to open a connection and...
View ArticleNew Post: Http digest preemptive authentication
Humm, after many experiments, I am afraid this is impossible to achieve natively with WinHttp (tried to call WinHttpSetCredentials before each request : no Authorization header is added with Digest, as...
View ArticleCommented Feature: Add cancellation support to websocket APIs (especially...
Currently, websocket APIs do not take cancellation token. Initiating a receive returns a task that completes when a message is received. If user wishes to cancel this operation, it is not possible...
View ArticleCommented Issue: websocket_client - uncatchable exception when receive/close...
Mentioned in a comment in https://casablanca.codeplex.com/workitem/177.raffaeler wrote Fri at 6:41 AM [x] Using 2.1.0 here. I could not even catch the exception with websocket_exception nor "..." When...
View ArticleCommented Unassigned: U #define in windows_compat.h not playing nice with...
compat\windows_compat.h has a #define U(x) _XPLATSTR(x)wihch interferes with boost 1.55 (at least) iostreams\details\access_control.hpp, which has // Implements protected inheritance....
View ArticleClosed Unassigned: U #define in windows_compat.h not playing nice with boost...
compat\windows_compat.h has a #define U(x) _XPLATSTR(x)wihch interferes with boost 1.55 (at least) iostreams\details\access_control.hpp, which has // Implements protected inheritance....
View ArticleClosed Issue: oauth1 is disabled, due to crypto usage [230]
This is due to a restriction we have around disclosing crypto usage so it is temporarily disabled for the 2.2.0 release until we get approval.
View ArticleClosed Unassigned: casablanca doesn't build under OS X [218]
In network.hpp:// For ntohs and htons#if defined(_WIN32)#include <winsock2.h>#else//#include <arpa/inet.h>#include <netinet/in.h>>> + #undef htonll>> + #undef...
View ArticleCommented Feature: Add cancellation support to websocket APIs (especially...
Currently, websocket APIs do not take cancellation token. Initiating a receive returns a task that completes when a message is received. If user wishes to cancel this operation, it is not possible...
View ArticleCommented Issue: websocket_client - uncatchable exception when receive/close...
Mentioned in a comment in https://casablanca.codeplex.com/workitem/177.raffaeler wrote Fri at 6:41 AM [x] Using 2.1.0 here. I could not even catch the exception with websocket_exception nor "..." When...
View ArticleCreated Issue: visual leak detector misses leaks when using with 120 toolset...
As part of our signoff for 2.2.0 release I was playing with the visual leak detector and noticed it doesn't detect leaks for some reason with our binaries for Visual Studio 2013. This needs more...
View ArticleCreated Issue: http_client - set_nativehandle_options leaks memory if...
The test case set_user_options_exceptions shows leaks under the WinRT version when run under the visual leak detector.This is low impact as most users don't use the feature and they would have to throw...
View ArticleCreated Feature: Windows - support for utf-8, single byte strings [239]
On Windows string_t is a 2 byte character, assumed UTF-16 string in the C++ Rest SDK. For some data critical areas we could make API overloads that work with std::string or return std::string.This has...
View ArticleCommented Issue: Make json::value(const char*) safe under Windows [185]
The following code: json::value params; params[U("version")] = json::value("1.0");results in the following JSON: `{"version":true}` under Windows, as `"1.0"` literal is implicitly converted to `bool`...
View ArticleCommented Unassigned: extract_string gzip error utf-8 [234]
1)I get this http response header()(L"Cache-Control", L"no-cache")(L"Content-Encoding", L"gzip")(L"Content-Length", L"792")(L"Content-Type", L"application/json;charset=utf-8")(L"Date", L"Sat, 16 Aug...
View ArticleClosed Issue: http_client - improve performance when handling large payloads...
This applies to Windows desktop. Historical context in TFS 517667
View ArticleCreated Task: perf infrastructure - update perf goals and move to VS2013 [240]
Our performance test benchmarking needs to be updated to 2013.
View ArticleUpdated Release: C++ REST SDK 2.2.0
Please fill in bugs and features as they are added into the release notes.oAuthAdded library support for oAuth 2.0 and 1.0 in an experimental namespace while we fine tune the API.AndroidAdded support...
View ArticleReviewed: C++ REST SDK 2.1 (Aug 18, 2014)
Rated 5 Stars (out of 5) - very good opensource
View Article