It's a crappy error message for sure!

Comes from not having a port specified, and the URL doesn't have a protocol
so it doesn't default to 80.

IN: scratchpad URL" /https://fussballimtv.de";
describe
url
protocol f
username f
password f
host     f
port     f
path     "/https://fussballimtv.de";
query    f
anchor   f


So it eventually tries to create an inet4 like this:

IN: scratchpad "0.0.0.0" f <inet4>
Bad store to specialized slot
value f
class integer


Not the best error message, maybe we can clean this up, or error earlier in
that API.







On Thu, Sep 6, 2018 at 12:50 AM Georg Simon <georg.si...@auge.de> wrote:

> Blush. Thank you
>
> Am Wed, 05 Sep 2018 19:31:54 +0300
> schrieb Alexander Ilin <ajs...@yandex.ru>:
>
> > Hello!
> >
> >   Have you tried removing the leading slash before the "https://";?
> >
> > 05.09.2018, 16:05, "Georg Simon" <georg.si...@auge.de>:
> > > As it seems there are websites that make
> > >
> > >  with-http-request*
> > >
> > > throw an error :
> > >
> > > IN: scratchpad USING: http.client ;
> > >
> > > With
> > > "/https://fussballimtv.de"; <get-request> [ . ] with-http-request* .
> > >
> > > I get the error "Bad store to specialized slot".
> > >
> > > With
> > > "http://factorcode.org"; <get-request> [ . ] with-http-request* .
> > >
> > > all works fine.
> > >
> > > Is there a way to avoid the error ?
> > >
> > >
> ------------------------------------------------------------------------------
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > _______________________________________________
> > > Factor-talk mailing list
> > > Factor-talk@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/factor-talk
> >
> > ---=====---
> >  Александр
> >
> >
> >
> ------------------------------------------------------------------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Factor-talk mailing list
> > Factor-talk@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to