Page 1 of 1

HTTP Parser

Posted: Thu Nov 10, 2016 11:09 pm
by imtiaz
Hi ,

Does anyone have an example of using the HTTP Parser --> http_parser.c.

or is there another way to parse raw HTTP ..

Any help appreciated,

Thanks
imtiaz

Re: HTTP Parser

Posted: Fri Nov 11, 2016 3:01 am
by kolban
The HTTP Parser I use is "Mongoose". Search on this forum for discussion on that. Mongoose will receive incoming HTTP requests and execute a callback function with the content of the HTTP request parsed out. It will include the HTTP method, URL, path part, query expressions, HTTP headers and payload for a PUT/POST request.