Web API doesn't send access-control-allow-origin: * when using https

The http header when accessing the web api ( https://gmt.star-conflict.com/pubapi/v1/userinfo.php?nickname= ) over https doesn’t include  access-control-allow-origin: *  while the when accesing the api unencrypted does include it.

0074973

try now

Thanks, it is working now.

ok at least the header is OK now but now get always Invalid username as answer…

edit: looks like it is working now again without any problems

I just noticed that it looks like that the https version uses extremely often caching so that if someone would request anything, everyone else would get for at least 30seconds or even longer the answer of the first person and not what he asked.

 

Request 1: nickname=smth

Request 2(within 30sec): nickname:smthelse -> answer nickname:smth

[@Skula1975](< base_url >/index.php?/profile/239039-skula1975/)

On 4/5/2017 at 0:28 AM, John161 said:

I just noticed that it looks like that the https version uses extremely often caching so that if someone would request anything, everyone else would get for at least 30seconds or even longer the answer of the first person and not what he asked.

 

Request 1: nickname=smth

Request 2(within 30sec): nickname:smthelse -> answer nickname:smth

|^| the bug is still present, idk if you are working on it or just missed the post

try now

Working fine now, thx.