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
SSE has become more popular, especially as it's been used for streaming with AI services. #98105 is adding a parser for SSE. If you get an HTTP response with a "text/event-stream" MIME type, that indicates the response body should be treated as SSE.
API Proposal
namespace System.Net.Mime;
public static class MediaTypeNames
{
public static class Text
{
+ public const string EventStream = "text/event-stream";
...
}
}
API Usage
n/a
Alternative Designs
n/a
Risks
n/a
The text was updated successfully, but these errors were encountered:
Background and motivation
SSE has become more popular, especially as it's been used for streaming with AI services. #98105 is adding a parser for SSE. If you get an HTTP response with a "text/event-stream" MIME type, that indicates the response body should be treated as SSE.
API Proposal
namespace System.Net.Mime; public static class MediaTypeNames { public static class Text { + public const string EventStream = "text/event-stream"; ... } }
API Usage
n/a
Alternative Designs
n/a
Risks
n/a
The text was updated successfully, but these errors were encountered: