You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
In the patch we can't add new APIs, so we should change the default behavior to be the 1.x behavior (i.e. no new headers by default). But, we should add a quirks mode switch to use the 2.0.0 behavior in case someone really wants it.
TODO: Need to figure out exactly which result types to patch. Definitely want to fix FileContentResult. Definitely don't want to fix Physical/VirtualFileResult. But not sure whether we want to change FileStreamResult (@Eilon thinks we should fix this).
This patch bug is approved for the 2.0.x patch. Please send a PR to the feature/2.0.1 branch and get it reviewed and merged. When we have the rel/2.0.1 branches ready please port the commit to that branch.
FileStreamResult and FileContentResult will default to 1.x behavior and not add range headers. Adding a quirks mode switch to both in case range processing is desired
We are looking for feedback on this patch. We'd like to know if you have any issues with this patch by updating your apps and libraries to the latest packages and seeing if it fixes the issues you've had, or if it introduces any new issues. If you have any issues or questions, please reply on this issue to let us know as soon as possible.
See #6780
In the patch we can't add new APIs, so we should change the default behavior to be the 1.x behavior (i.e. no new headers by default). But, we should add a quirks mode switch to use the 2.0.0 behavior in case someone really wants it.
TODO: Need to figure out exactly which result types to patch. Definitely want to fix
FileContentResult
. Definitely don't want to fixPhysical/VirtualFileResult
. But not sure whether we want to changeFileStreamResult
(@Eilon thinks we should fix this).See https://github.com/Eilon/QuirksModeSwitchSample for how to do quirks in general. And here's a specific example: eec16ff
cc @Tratcher
The text was updated successfully, but these errors were encountered: