HTTP Server - need of URI parser

radoslav.iliev
Posts: 2
Joined: Mon Feb 10, 2020 9:54 am

HTTP Server - need of URI parser

Postby radoslav.iliev » Wed Mar 25, 2020 3:35 pm

Hello everyone,

Now the httpd_find_uri_handler() function checks does the URI responds to the query linear, because it compares them with strncmp(). I need to do some-like apache based tree structure of them, so, using of strtok() for this is mandatory.

The question is: In which function I have to change the call of http_find_uri_handler() to my user-defined function for it, to respond for the incoming HTTP request (I don't want to change the check for existing one or removing handler from the list of struct httpd_uri_t).

Thank you in advance.

Who is online

Users browsing this forum: Bing [Bot], ESP_Roland and 239 guests