-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Area: BT&WifiBT & Wifi related issuesBT & Wifi related issuesStatus: SolvedThe issue has been resolved and requires no further action.The issue has been resolved and requires no further action.Type: Feature requestFeature request for Arduino ESP32Feature request for Arduino ESP32
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.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Metadata
Metadata
Assignees
Labels
Area: BT&WifiBT & Wifi related issuesBT & Wifi related issuesStatus: SolvedThe issue has been resolved and requires no further action.The issue has been resolved and requires no further action.Type: Feature requestFeature request for Arduino ESP32Feature request for Arduino ESP32
Activity
added http code param to WebServer.streamFile (espressif#6899)
added http code param to WebServer.streamFile (espressif#6899)
added http code param to WebServer.streamFile (espressif#6899)
added http code param to WebServer.streamFile (#6899) (#6995)