Add event for customizing file selection
Open
affected-very-few
area-middleware
enhancement
feature-static-files
severity-nice-to-have
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
_From @Tratcher on Tuesday, February 16, 2016 9:01:28 AM_
Add an event at the beginning of the static file middleware when the request first arrives that would let you map any path to any file, and pick the content-type. Then the middleware could process that file normally (e-tags, if-modified-since, range, etc..).
_Copied from original issue: aspnet/StaticFiles#111_
Contributor guide
Assessment
This issue has not been assessed yet.