Spritetm / libesphttpd

NOTE: THIS CODE IS UNMAINTAINED. Please take a look at https://github.com/chmorgan/libesphttpd instead.
125 stars 109 forks source link

Updates from my application #27

Closed valkuc closed 8 years ago

valkuc commented 8 years ago

Hi, Here is updates for libesphttpd used in my app.

1) Open a different file than provided in http request. Common usage: {"/", cgiEspFsHook, "/index.html"} will show content of index.html without actual redirect to that file if host root was requested. 2) USABILITY: Moved xxx_LEN defines to header file to allow user to reuse them in it's own code.

Spritetm commented 8 years ago

Looks sane and useful. Merged, thanks for contributing!