-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Port fix to 2.0.1: Zero Content-Length for static file 304 #6875 #6887
Comments
Hi, we have a public test feed that you can use to try out the ASP.NET/EF Core 2.0.3 patch! To try out the pre-release patch, please refer to the following guide:
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. Thanks, |
I just tried the new The |
@shravan2x actually when publishing an app, by default none of the packages references by Can you show what command you ran and what's in the publish output folder? |
@Eilon I've seen that in ASP.NET Core 2.0 this is indeed the case. The number of packages is far lower than 1.0. However, when I ran the new Maybe I did something incorrectly; I will test again in the next few days and report back with more info. |
@shravan2x if you publish the app as a self-contained (also known as "standalone") app, it will contain all of ASP.NET Core and even all of .NET Core. I believe there's an option in the publish dialog to enable this, but it isn't the default setting. If you can show what files are in the output folder that would help figure this out. |
Sorry I haven't found time to check yet. I will definitely do it this weekend. |
@Eilon I just tried publishing on Looking forward to seeing this in release! |
@shravan2x thanks for confirming! |
Porting fix to only set Content-Length when serving body and not for 304 or 412 responses
See #6875
cc @Eilon @Tratcher
The text was updated successfully, but these errors were encountered: