New Post: how to combine the url with c++ rest sdk?
Hi again, I think you've gotten the two streams "fileStream" and "outFile" confused in your code. You never actually open fileStream to point at a file. Sincerely, roschuma
View ArticleCreated Unassigned: No longer needed msbuild tag: BuildAgainstVSInstallation...
Several test projects have xml tags of the form:```<ItemDefinitionGroup Condition="'$(BuildAgainstVSInstallation)'!=''">```These are no longer needed and can be removed.
View ArticleNew Post: Data Transfer Validation
If I post octets to or get octets from the server and get the http_response status code OK, does it mean I exactly get the same bytes in server or post the same bytes into server? I'm an embeded...
View ArticleNew Post: New to Casablanck SDKs
Q: Where's the server and what is its domain name (or ip address)? A: I am using it locally not in some external IP Address, therefore I am using Localhost as the server. So in my C++ Application I am...
View ArticleNew Post: New to Casablanck SDKs
Coming to your third question Q: What is the page making the request (if using javascript)? A: This is the code that I have written in the page. The problem with POST and PUT request was "Access...
View ArticleNew Post: Using XMLHttpRequest
@Steve, can you also help me in resolving he query I have posted in this thread?https://casablanca.codeplex.com/discussions/564796
View ArticleNew Post: GET HTTP request with credentials always returns 401 on Mac OSX
We wrote the following code for GET requests which need setting of credentials: // ... return pplx::create_task([=] { web::http::client::http_client_config client_config;...
View ArticleCommented Feature: web::json::value::string overload with additional...
web::json::value::string method has only one parameter - actual string to wrap:```static _ASYNCRTIMP value __cdecl string(utility::string_t value);```Internally, it creates an instance of _String class...
View ArticleNew Post: New to Casablanck SDKs
Ok, two immediate things that I've noticed: This tutorial (and therefore your code) is using an incredibly outdated version of the SDK. To get the latest version of Casablanca, use the NuGet package...
View ArticleCreated Issue: datetime utility - doesn't take into account locale on all...
Looking at the code in async_utils.cpp you can easily see that locale is not properly handled on all the platforms. I didn't look into more detail about what exactly needs to be addressed.
View ArticleCommented Feature: Regex-based implementation of datetime::from_string is...
Consider a hand-rolled loop to detect the fractional second.Comments: Regex isn't even used in the datetime any more.
View ArticleClosed Feature: Regex-based implementation of datetime::from_string is slow...
Consider a hand-rolled loop to detect the fractional second.
View ArticleCreated Feature: http_client - potential perf in non-Windows use...
When reading/writing to the request/response stream body we could use the alloc/commit/acquire/release. Looking at the code I think there are opportunities to save one a copy.
View ArticleEdited Feature: http_client - potential perf in non-Windows use...
When reading/writing to the request/response stream body we could use the alloc/commit/acquire/release. Looking at the code I think there are opportunities to save one a copy.
View ArticleNew Post: New to Casablanck SDKs
Ok, I've been able to get similar issues as to what you're receiving. The answer is mostly summed up in my previous post and the StackOverflow article here. Basically, you're working cross-domain even...
View ArticleEdited Unassigned: http_listener CentOS6.5/Ubuntu13/14 some time can't...
I have a http_listener and just print all request body, but some time the body can not be received.
View ArticleCommented Unassigned: http_listener CentOS6.5/Ubuntu13/14 some time can't...
I have a http_listener and just print all request body, but some time the body can not be received.Comments: Needs investigation - to me looks like something to do with the fact that the request...
View ArticleEdited Issue: http_listener CentOS6.5/Ubuntu13/14 some time can't receive...
I have a http_listener and just print all request body, but some time the body can not be received.
View ArticleCommented Unassigned: v2.2 NuGet package's v120_xp toolset support broken [262]
I'm using VS2013 under 64-bit Windows 7. I installed the current v2.2 CPPREST NuGet package into a new project that uses the v120_xp platform toolset, and the debug .EXE file built from the project...
View ArticleEdited Issue: v2.2 NuGet package's v120_xp toolset support broken [262]
I'm using VS2013 under 64-bit Windows 7. I installed the current v2.2 CPPREST NuGet package into a new project that uses the v120_xp platform toolset, and the debug .EXE file built from the project...
View Article