streamFile with custom HTTP code #6899
Labels
Area: BT&Wifi
BT & Wifi related issues
Status: Solved
Type: Feature request
Feature request for Arduino ESP32
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
The text was updated successfully, but these errors were encountered: