Hello Brad,
I have tried to use webui.
When I click the HEX button in the web interface, it doesn't work.
I spent some time trying to find the error.
It seems to be coming from this code:
: response ( mime$ result$ status -- )
s" HTTP/1.0 " client-type <# #s #> client-type
bl client-emit client-type client-cr
s" Content-type: " client-type client-type client-cr
client-cr ;
With this code, if we change the numeric base, the status code will be converted into the new numeric base.
I have make a little adaptation, and nox it's work fine:
: response ( mime$ result$ status -- )
s" HTTP/1.0 " client-type base @ >r decimal <# #s #> r> base ! client-type
bl client-emit client-type client-cr
s" Content-type: " client-type client-type client-cr
client-cr ;
With best regards
Hello Brad,
I have tried to use webui.
When I click the HEX button in the web interface, it doesn't work.
I spent some time trying to find the error.
It seems to be coming from this code:
: response ( mime$ result$ status -- )
s" HTTP/1.0 " client-type <# #s #> client-type
bl client-emit client-type client-cr
s" Content-type: " client-type client-type client-cr
client-cr ;
With this code, if we change the numeric base, the status code will be converted into the new numeric base.
I have make a little adaptation, and nox it's work fine:
: response ( mime$ result$ status -- )
s" HTTP/1.0 " client-type base @ >r decimal <# #s #> r> base ! client-type
bl client-emit client-type client-cr
s" Content-type: " client-type client-type client-cr
client-cr ;
With best regards