Commented Unassigned: Assertion thrown when uploading a file via PUT:...
The 3 assertions that get thrown in debug mode when trying to upload a file are lines 967, 961, and 913 in http_client.cpp souce file via PUT. All the assertions report "released == false". However,...
View ArticleNew Post: Cookie
Sorry, cookie support is currently not in the Casablanca APIs. I know, it seems pretty basic... That said, cookies are passed as headers (in both directions), and you should be able to handled them...
View ArticleNew Post: I don't find any way to get progress info for ongoing WEBDAV GET...
Upload/Download sends bytes in chunks. Considering this , For upload: total bytes to send, how many bytes done so far .For every bytes chunk done. This can come in some callback registered with...
View ArticleNew Post: I don't find any way to get progress info for ongoing WEBDAV GET...
Hi Prashant, For the download side you could get the response body as a stream using the method http_response::body(). Then you can read the bytes in whatever size chunks you would like and compare...
View ArticleNew Post: I don't find any way to get progress info for ongoing WEBDAV GET...
Hi Steve, Currently I am using http_request void set_response_stream( concurrency::streams::ostream stream ); This gives response in streams a asynchronously. As per my flow, I have storagefile created...
View ArticleNew Post: I don't find any way to get progress info for ongoing WEBDAV GET...
The stream solution would be a temporary solution, I think. What I would suggest doing, is to leverage the PPL asynchronous agents library by allowing you to get a progress data source from the request...
View ArticleNew Post: I don't find any way to get progress info for ongoing WEBDAV GET...
Looking into generic solution for all users of this library. I would vote for alternative solution. If it will be provided from library as given below or more precisely like other libraries are...
View ArticleCreated Unassigned: INVALID_POINTER_READ_CODE_c0000005_casablanca110.dll!ILT...
It appears to be a race condition because this call was done after casablanca110.dll is unloaded. I was trying to detect memory leak using umdh command so I simply added a breakpoint to FreeLibrary. I...
View ArticleNew Post: How to download file from SkyDrive using REST API SDK? (Windows...
Hello. I am trying to download file from SkyDrive using web::http::client::http_client.std::wstring fileID = std::wstring (file_id); Platform::String ^fName = Platform::String::Concat (ref new...
View ArticleNew Post: How to download file from SkyDrive using REST API SDK? (Windows...
Hello hellobody, If I understand you intent, you want to store the data from SkyDrive in 'fSTream', which means that you need to create an ostream (one that can be written to) instead of an istream....
View ArticleEdited Issue: INVALID_POINTER_READ_CODE_c0000005_casablanca110.dll!ILT [13]
It appears to be a race condition because this call was done after casablanca110.dll is unloaded. I was trying to detect memory leak using umdh command so I simply added a breakpoint to FreeLibrary. I...
View ArticleEdited Feature: Not able to get progress info for WEBDAV put and get using...
Hi,I am having HTTP client created using C++ REST SDK. I don't see any way to get progress info on ongoing WEBDAV put and get .Please suggest.RegardsPrashant
View ArticleEdited Issue: Assertion thrown when uploading a file via PUT: (released ==...
The 3 assertions that get thrown in debug mode when trying to upload a file are lines 967, 961, and 913 in http_client.cpp souce file via PUT. All the assertions report "released == false". However,...
View ArticleEdited Issue: [Linux] some tests from Release directory crash [9]
cd Binaries/Release64./run_tests.sh[...]Starting test case pplxtask_tests:TestTaskOperators...pplxtask_tests.cpp:546: error: Failure in TestTaskOperators: Unhandled exception: test crashedTest case...
View ArticleEdited Issue: rawptr_buffer::can_read() behavior [8]
When the current position on a rawptr_buffer is at EOF, can_read() returns false. This behavior is not consistent with that of the other types of buffers.In particular, it prevents the seekpos method...
View ArticleEdited Issue: WHY USE unescape_string here? [7]
``` C++std::string web::json::details::_String::as_utf8_string() const{ if(is_wide()){ return utf16_to_utf8(unescape_string<utf16char>(m_wstring.get()));} else{ return...
View ArticleClosed Issue: Missing web:: namespace in JSON documentation [6]
The current version of [JSON](https://casablanca.codeplex.com/wikipage?title=JSON&referringTitle=Documentation) chapter of the documentation does not explicitly explain all the JSON features live...
View ArticleEdited Issue: Missing web:: namespace in JSON documentation [6]
The current version of [JSON](https://casablanca.codeplex.com/wikipage?title=JSON&referringTitle=Documentation) chapter of the documentation does not explicitly explain all the JSON features live...
View ArticleNew Post: I don't find any way to get progress info for ongoing WEBDAV GET...
Here's what I suggest: A single callback, attached to the request object (can't use the convenience versions of http_client::request()), which takes a function object with the following profile:void...
View ArticleUpdated Wiki: Programming with Tasks
Programming with Tasks All the asynchronous APIs in Casablanca build on the PPL tasks library that is shipping in the next version of Visual Studio. In order to make Casablanca usable also with Visual...
View Article