-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Feature - GetResourceHandler #610
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
Conversation
Add method stub for GetResourceHandler
Simplify OnBeforeResourceLoad to only support redirect for now
Implementation of GetResourceHandler still incomplete
… a common place in the future) Get basic CefStreamResourceHandler compiling Add headers and status codes to ResourceHandler
…tream) as it's working - possibly a problem with the HeaderMap
Add method stub for GetResourceHandler
Simplify OnBeforeResourceLoad to only support redirect for now
Implementation of GetResourceHandler still incomplete
… a common place in the future) Get basic CefStreamResourceHandler compiling Add headers and status codes to ResourceHandler
…tream) as it's working - possibly a problem with the HeaderMap
…to feature/respond-with
|
Can be tested by navigating to |
CefSharp/Response.cs
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing license header ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
(Sweet 🎯) SuccessThis document is loaded from a System.IO.Stream More C#, fewer LoC, Streams. What's not to like? Merging now! |
Due to a recent flood of requests around
RespondWithnot being implemented, I've created this PRGetResourceHandlerreplacesRespondWiththat was previously part ofOnBeforeResourceLoad. I've also cleaned up some code related toRequestResponseRequestResponseinto a separateResponseclass and pass inRequestas it's own paramGetResourceHandlerwhich allows for providing aStreamfor a file.Responseinto c# land