Skip to content

[Static Web Assets] Remove Accept-Ranges header from DefineStaticWebAssetEndpoints #50148

@javiercn

Description

@javiercn

ASP.NET Core already adds it by default and adding it here causes it to be duplicate on the response.

You will have to update the test baselines using src/RazorSdk/update-test-baselines.sh and check-in the changes. Make sure that they look correct to you by using git diff to see the changes to the .json files.

The change must include the fix in DefineStaticWebAssetEndpoints and the updated baselines. At the end, include a comment with at least one of the updated endpoints in one of the baseline files.

Metadata

Metadata

Assignees

Labels

Area-AspNetCoreRazorSDK, BlazorWebAssemblySDK, dotnet-watch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions