Hi....You want to edit /index_html.html on the fly (dynamically) before sending it ?
I suppose you could read it line by line and stream it out or write to another SPIFFS file and then send it (not ideal for flash memory, though)
Can you give an example of the sort of change you want to make. There may be other ways of achieving the same thing.                                     ;