Skip to content

Blazor streaming rendering responses should expose a custom header indicating that streaming takes place #59571

@oliverw

Description

@oliverw

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

It would be helpful if Blazor could add a custom header to the response, if streaming rendering is in effect to tell downstream proxies which adaptively buffer responses to not buffer in this case.

One example is Cloudflare's Argo Tunnel which disables buffering based on the Content-Type header as shown here. Even though a custom header would not fix the problem, it would open the door to a PR.

Describe the solution you'd like

Have blazor expose a custom header for streaming rendering responses.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor Components

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions