Modified the calculation of buf_len, so that scratch buffer allocates the memory according to requirement and not extra (except the last read chunk)
This example demonstrates the capability of wildcard URI matching allowing for a full fledged file server to be created using esp_http_server.