Fix SSE Maybe
This commit is contained in:
parent
ef1f9bc8c0
commit
6b9706291d
|
@ -1,7 +1,7 @@
|
||||||
<Properties StartupConfiguration="{E26F8159-6B4B-4660-A7A4-D0333DFEF0DD}|Default" NuGet.AddPackagesDialog.IncludePrerelease="True">
|
<Properties StartupConfiguration="{E26F8159-6B4B-4660-A7A4-D0333DFEF0DD}|Default" NuGet.AddPackagesDialog.IncludePrerelease="True">
|
||||||
<MonoDevelop.Ide.Workbench ActiveDocument="Program.cs">
|
<MonoDevelop.Ide.Workbench ActiveDocument="Program.cs">
|
||||||
<Files>
|
<Files>
|
||||||
<File FileName="Program.cs" Line="81" Column="13" />
|
<File FileName="Program.cs" Line="119" Column="70" />
|
||||||
<File FileName="Server/Models/InfoType.cs" Line="45" Column="39" />
|
<File FileName="Server/Models/InfoType.cs" Line="45" Column="39" />
|
||||||
<File FileName="Server/Models/YoutubeDownloaderResponse.cs" Line="1" Column="1" />
|
<File FileName="Server/Models/YoutubeDownloaderResponse.cs" Line="1" Column="1" />
|
||||||
<File FileName="Server/Functions/Downloader.cs" Line="888" Column="8" />
|
<File FileName="Server/Functions/Downloader.cs" Line="888" Column="8" />
|
||||||
|
@ -15,14 +15,7 @@
|
||||||
<Pads>
|
<Pads>
|
||||||
<Pad Id="ProjectPad">
|
<Pad Id="ProjectPad">
|
||||||
<State name="__root__">
|
<State name="__root__">
|
||||||
<Node name="youtube-downloader" expanded="True">
|
<Node name="youtube-downloader" expanded="True" />
|
||||||
<Node name="youtube-downloader" expanded="True">
|
|
||||||
<Node name="Server" expanded="True">
|
|
||||||
<Node name="Functions" expanded="True" />
|
|
||||||
</Node>
|
|
||||||
<Node name="Program.cs" selected="True" />
|
|
||||||
</Node>
|
|
||||||
</Node>
|
|
||||||
</State>
|
</State>
|
||||||
</Pad>
|
</Pad>
|
||||||
</Pads>
|
</Pads>
|
||||||
|
|
|
@ -308,6 +308,8 @@ namespace youtube_downloader
|
||||||
rp.AddHeader("Cache-Control", "no-cache");
|
rp.AddHeader("Cache-Control", "no-cache");
|
||||||
rp.ContentType = "text/event-stream";
|
rp.ContentType = "text/event-stream";
|
||||||
rp.WithCode();
|
rp.WithCode();
|
||||||
|
Console.WriteLine(rp.SendChunked);
|
||||||
|
rp.SendChunked = false;
|
||||||
rp.ContentEncoding = Encoding.UTF8;
|
rp.ContentEncoding = Encoding.UTF8;
|
||||||
|
|
||||||
SSE.ServerSentEventItem.RegisterResponse(rp);
|
SSE.ServerSentEventItem.RegisterResponse(rp);
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue