New Post: does casablanca support compression on http response?
hi kavyako, sorry for replying late, it's been a busy month:( i was referring to using http_client, and i might have large data in http_response. The workaround i can think of now is:Server side:...
View ArticleNew Post: How to grab URI segments?
i listen on :http://127.0.0.1:495000/ with:const http::uri uri = http::uri::encode_uri(utility::conversions::to_string_t(theUri)); new VlHttp(uri); and the constructor VlHttp lokks like...
View ArticleCreated Unassigned: Deploying to WP8.1 failed DEP6810 : MdilXapCompile.exe...
#ProblemWhen I try deploy my application with release configuration (Release | ARM) to real device I had the error:Error DEP6810 : MdilXapCompile.exe failed with error code 1004. See log file '<My...
View ArticleNew Post: Timeout error when downloading large files in Unix
FYI, I submitted a pull request with a change to http_linux.cpp that will reset the timeout timer when data is received. The changes fix this issue.
View ArticleCommented Issue: How to obtain new access token or refresh token [171]
Need to handle token expiration gracefully, and expose a way to get a refreshed tokenComments: The refresh token is working correctly. In the OAuth2live sample, we need to set "wl.offline_access "...
View ArticleNew Post: How to grab URI segments?
The printf statement you are using is incorrect. printf("\n Request URI3: %s -- %d\n", path, p); printf has no option for std::string, only a C-style string. Or you could extract the c style string...
View ArticleNew Post: Timeout error when downloading large files in Unix
Great work, thanks. We'll look at inclusion of this pull request into the next release. Thanks again for finding this issue and fixing it! Robert
View ArticleNew Post: does casablanca support compression on http response?
Hi subuliu If you have control on the server implementation, you can also send the data in chunks or use chunked transfer encoding. Refer to the http_client and http_listener tests at...
View ArticleCreated Task: start using binscope on OS X, investigate what else [209]
An internal customer hit issues with the Quality Essentials requirement about running binscope for OS X. We need to start running this, perhaps as part of sign off. Someone needs to investigate all the...
View ArticleCommented Unassigned: issue with mutex.lock in _Task_impl_base on iOS version...
**Les1966 wrote:**> I am running into a crash with Casablanca on iOS v7.1.1, (note: this was not an issue on 7.0.4.) The first line in _Task_impl::_TransitionedToStart() in pplxtasks.h where the...
View ArticleClosed Unassigned: issue with mutex.lock in _Task_impl_base on iOS version...
**Les1966 wrote:**> I am running into a crash with Casablanca on iOS v7.1.1, (note: this was not an issue on 7.0.4.) The first line in _Task_impl::_TransitionedToStart() in pplxtasks.h where the...
View ArticleCreated Unassigned: Add FreeBSD 10+ to supported platforms [210]
Add FreeBSD 10+ to supported platforms.Pull request was added to development branch.Agreement signed.
View ArticleCommented Unassigned: Add FreeBSD 10+ to supported platforms [210]
Add FreeBSD 10+ to supported platforms.Pull request was added to development branch.Agreement signed.Comments: Hi M1xA, We will accept your changes and contributions, but I don't know if we will be...
View ArticleNew Post: How to build a statically linked ( static CRT ) SDK
stevetgates wrote: Hi pmush, Currently we don't support static linking with the C++ REST SDK. It is on our backlog of potential features to consider. You can try building a static version your self,...
View ArticleNew Post: Trying to create HTTP Post request with binary data
Hi Ama, The compiler error you are receiving is correct, none of the http_client::request overload take in a std::istream. If you have the request body in a raw pointer you can use the rawptr_stream....
View ArticleNew Post: Retrieve the filestream for a file on the server using rest webserice
Just like the way we create a stream to the file using SHCreateStreamOnFile and retrieve the IStream. I want to open a file which is on the server and retrieve the IStream associated with it (without...
View ArticleCommented Issue: Fix http_request::close().wait() hangs [205]
A more complete discussion is at: https://casablanca.codeplex.com/discussions/548696The following fragment of code uses a very common coding pattern. I'm using Concurrency namespace here....
View ArticleNew Post: Windows: v2.1 Breaks http_request Queuing
Hi Robert, Like I mentioned in the earlier our current listener semantics are that you have to respond to all request, and allow all http_request and http_response objects to be destroyed before the...
View ArticleClosed Issue: Fix http_request::close().wait() hangs [205]
A more complete discussion is at: https://casablanca.codeplex.com/discussions/548696The following fragment of code uses a very common coding pattern. I'm using Concurrency namespace here....
View Article