Actions
Bug #5709
closed$urlget().size is zero in some cases
Start date:
04/11/2023
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
Hello,
I am trying to use $urlget().size
prop but seems is 0
when using non-exe file types.
It works with .exe file type: //alias dl_callback echo -ag is: $!urlget($1).url -> $!urlget($1).size $(|) alias dl_callback | noop $urlget(https://adiirc.com/AdiIRC64_45.exe,gf,,dl_callback)
It doesn't works with any other file type: //alias dl_callback echo -ag is: $!urlget($1).url -> $!urlget($1).size $(|) alias dl_callback | noop $urlget(https://raw.githubusercontent.com/SReject/JSON-For-Mirc/master/src/JSON%20For%20mIRC.mrc,gf,,dl_callback)
As it seems in $urlget().reply in both cases exist Content-Length
header with a value.
- Thanks!
Actions