Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HttpRequest.FilePath and HttpRequest.PathInfo #285

Merged
merged 6 commits into from
Feb 10, 2023
Merged

Conversation

twsouthwick
Copy link
Member

@twsouthwick twsouthwick commented Feb 9, 2023

This change adds the APIs for HttpRequest.FilePath|PathInfo and plumbs it through a new feature: IPathInfoFeature. The actual implementation of this is something tied to IHttpHandler, but this will default to the case in which no handler is registered. If we want to implement the behavior if a handler is present, the feature just needs to be added for the API to work as expected.

Fixes #278

@twsouthwick twsouthwick merged commit 24c3a07 into main Feb 10, 2023
@twsouthwick twsouthwick deleted the filepath branch February 10, 2023 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add missing API: HttpRequest.FilePath
2 participants