New Post: 2.6.0 Release
I just finished putting together the 2.6.0 release. The release contains a lot of good bug fixes and updates many of the C++ REST SDK's dependencies to new versions. For those targeting Windows, this...
View ArticleNew Post: compression for http response
Hi Ganesha, Our http_listener doesn't have any built in support for compression. You will have to manually compress/decompress the data yourself. Regarding SSL, HTTPS support hasn't been implemented on...
View ArticleNew Post: Get IP Address from http_request
Hi binhducodeplex, Since you mention from the http_request object I assume you are trying to get the IP address from the server with our http_listener. No we don't have any APIs the expose the IP...
View ArticleNew Post: Is this a bug in json::value::parse?
I have stumbled upon what looks like a bug in json::value::parse... I was trying to parse a JSON object, which was returned by HTTP GET: concurrency::streams::istream bodyStream = response.body();...
View ArticleNew Post: compression for http response
Hi Steve, Windows is sufficient for me. Could you please elaborate a bit on how to get https working (both on listener and client side). Ganesha
View ArticleCommented Unassigned: extract_utf16string doesn't return the whole body [387]
```void test_pageGetUTF8(std::wstring url){ http_client client(url); auto query = uri_builder().append_query(L"q", L"test").to_string(); client.request(methods::GET, query) .then([](http_response...
View ArticleNew Post: Resume uploads
Yes, I'm uploading files to youtube, so the sizes tend to range from around 4 - 7 GB. I'm aware of set_progress_handler (already using it), so I guess I should make a try and see how it goes. Not sure...
View ArticleNew Post: Resume uploads
Since this is youtube I recommend you take a look at their documentation here:https://developers.google.com/youtube/v3/guides/using_resumable_upload_protocol It describes two different options very...
View ArticleNew Post: Resume uploads
Great! I can take take of that. I just needed to know if seeking would cause the API to simply start sending the bytes from the position I was seeking to, and it seems from the response that this would...
View ArticleNew Post: Resume uploads
The request will start reading from wherever the 'read' or 'input' head is located on the stream. This allows for example to reuse the same stream across multiple requests. Steve
View ArticleCommented Issue: arm64 - build failure, auto type cannot be negative [312]
/«PKGBUILDDIR»/Release/src/utilities/base64.cpp: In function 'std::vector<unsigned char> _from_base64(const string_t&)':/«PKGBUILDDIR»/Release/src/utilities/base64.cpp:112:21: error:...
View ArticleClosed Issue: arm64 - build failure, auto type cannot be negative [312]
/«PKGBUILDDIR»/Release/src/utilities/base64.cpp: In function 'std::vector<unsigned char> _from_base64(const string_t&)':/«PKGBUILDDIR»/Release/src/utilities/base64.cpp:112:21: error:...
View ArticleUpdated Release: C++ REST SDK 2.7.0
miscellaneousMerged a couple of pull requests (here and here) fixing several issues with arm64. #312
View ArticleNew Post: Templated json::value?
Hi Steve, Thank you for explaining the design rationale. I think your concerns that templatizing JSON classes would break source code compatibility are unsubstantiated. It should be pretty easy to...
View ArticleCommented Feature: Linux - ARM support [291]
Hi, is casablanca actualy supporting arm architecture?build logs attached(cdecl errors)Comments: I guess we can close this one due to...
View ArticleCommented Feature: Linux - ARM support [291]
Hi, is casablanca actualy supporting arm architecture?build logs attached(cdecl errors)Comments: Yes I missed closing this one thanks!
View ArticleClosed Feature: Linux - ARM support [291]
Hi, is casablanca actualy supporting arm architecture?build logs attached(cdecl errors)
View ArticleUpdated Release: C++ REST SDK 2.7.0
miscellaneousMerged a couple of pull requests (here and here) fixing several issues with arm64. #312, #291
View ArticleNew Post: When http_listener is https://localhost:someport throws exception...
Hi i searched earlier and show that the https listener supports windows https which is enough. And after completing my own version of the server and client, i wanted to test it out with the localhost...
View ArticleNew Post: When http_listener is https://localhost:someport throws exception...
Hi NeroV, Yes any errors from the HTTP request will come out of the task returned from the http_client::request(...) method. The exception type should be web::http::http_exception, can you try catching...
View Article