Closed
Description
Related area
WebServer
Hardware specification
ESP32-WROOM-32 (DevKit V1)
Is your feature request related to a problem?
I'm having a problem using onNotFound function. I want to serve a template according to an existing file on SPIFFS. But only HTTP code 200 is available instead of 404.
Describe the solution you'd like
I suggest to add HTTP code parameter to the streamFile or _streamFileCore functions
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
- I confirm I have checked existing list of Feature requests and Contribution Guide.