Home » U++ Library support » U++ MT-multithreading and servers » [NOT REPRODUCIBLE] HttpRequest gzip format error
[NOT REPRODUCIBLE] HttpRequest gzip format error [message #53141] |
Sat, 07 March 2020 21:23 |
|
Xemuth
Messages: 387 Registered: August 2018 Location: France
|
Senior Member |
|
|
Hello,
I try to retrieve data from an api :
#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
StdLogSetup(LOG_COUT|LOG_FILE);
HttpRequest myRequest;
HttpRequest::Trace();
myRequest.GET();
myRequest.Url("https://euw1.api.riotgames.com/lol/summoner/v4/summoners/by-name/Xemuth");
myRequest.Header(X-Riot-Token","RGAPI-2a995009-6aac-48cf-86ea-5db1f11fe11c);
Cout() << myRequest.Execute() << EOL;
}
Everythings seems to work except this :
making data retrieved unreadable.
Someone have any idea ?
Thanks in advance
Best regard
Xemuth
EDIT : For strange reason it worked after few try
[Updated on: Sun, 09 August 2020 00:02] by Moderator Report message to a moderator
|
|
|
Re: HttpRequest gzip format error [message #53142 is a reply to message #53141] |
Sat, 07 March 2020 23:58 |
|
koldo
Messages: 3394 Registered: August 2008
|
Senior Veteran |
|
|
Trying this in Windows 10 I have got this:
HTTP START
Using euw1.api.riotgames.com:443
Starting status 2 'Resolving host name', url: euw1.api.riotgames.com
HTTP Execute: Resolving host name
HTTP StartConnect
HTTP AfterConnect
HTTP retry on error socket(732) / StartSSL: Missing SSL support (Core/SSL)
Starting status 1 'Start', url: euw1.api.riotgames.com
HTTP Execute: Start
HTTP START
Using euw1.api.riotgames.com:443
Starting status 2 'Resolving host name', url: euw1.api.riotgames.com
HTTP Execute: Resolving host name
HTTP StartConnect
HTTP AfterConnect
HTTP retry on error socket(588) / StartSSL: Missing SSL support (Core/SSL)
Starting status 1 'Start', url: euw1.api.riotgames.com
HTTP Execute: Start
HTTP START
Using euw1.api.riotgames.com:443
Starting status 2 'Resolving host name', url: euw1.api.riotgames.com
HTTP Execute: Resolving host name
HTTP StartConnect
HTTP AfterConnect
HTTP retry on error socket(588) / StartSSL: Missing SSL support (Core/SSL)
Starting status 1 'Start', url: euw1.api.riotgames.com
HTTP Execute: Start
HTTP START
Using euw1.api.riotgames.com:443
Starting status 2 'Resolving host name', url: euw1.api.riotgames.com
HTTP Execute: Resolving host name
HTTP StartConnect
HTTP AfterConnect
Best regards
IƱaki
|
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 03:16:15 CEST 2024
Total time taken to generate the page: 0.02448 seconds
|