Data cannot be retrieved via $urlget. This seems to be a bug because data is retrieved via sockread.

Fails & no data, except the urlget().reply now says code 200 and success.
Affects both win7 and win10.

Could possibly be looking for a content-length header for example?
Just guessing tho.

Quote
alias w1 {
;bset -t &header 1 Connection: close $+ $lf $+ Host: geocoding-api.open-meteo.com $str($lf,2)
noop $urlget(https://geocoding-api.open-meteo.com/v1/search?name=berlin&count=10,bgi,&w,w2)
;noop $urlget(https://geocoding-api.open-meteo.com/v1/search?name=berlin&count=10,bgi,&w,w2,&header)
}
alias w2 {
echo -s * $urlget($1).state * $urlget($1).method * $urlget($1).reply
if ($urlget($1).state == ok) {
echo -s $v1
}
}

Regards.


when no one watching us
we are invisible