httpd_uri: httpd_uri: Method '2' not allowed for URI
Posted: Thu Jun 20, 2019 5:00 pm
When using Edge instead of Chrome I get this error:
My svg image does not display. But it does in Chrome. I cannot find anything on method 2. I'll Wireshark it if no one has any ideas.
This registers the handler.
Code: Select all
W (72320) httpd_uri: httpd_uri: Method '2' not allowed for URI '/rom/ds1_svg'
W (72320) httpd_txrx: httpd_resp_send_err: 405 Method Not Allowed - Request method for this URI is not handled by server
This registers the handler.
Code: Select all
httpd_uri_t file_download = {
.uri = "/*", // Match all URIs of type /path/to/file (except index.html)
.method = HTTP_GET,
.handler = download_get_handler,
.user_ctx = NULL
};