Skip to content

Problem with webui in ESP32forth #80

@MPETREMANN11

Description

@MPETREMANN11

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions