110,538
社区成员
发帖
与我相关
我的任务
分享
System.IO.InvalidDataException: GZip 头中的幻数不正确。请确保正在传入 GZip 流。
在 System.IO.Compression.GZipDecoder.ReadHeader(InputBuffer input)
在 System.IO.Compression.Inflater.Decode()
在 System.IO.Compression.Inflater.Inflate(Byte[] bytes, Int32 offset, Int32 length)
在 System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset, Int32 count)
在 System.IO.Compression.GZipStream.Read(Byte[] array, Int32 offset, Int32 count)
在 xNet.HttpResponse.<ReceiveMessageBodyZip>d__101.MoveNext() 位置 C:\Users\maste\source\repos\WindowsFormsApp1\xNet-master\xNet\~Http\HttpResponse.cs:行号 1476
在 xNet.HttpResponse.None() 位置 C:\Users\maste\source\repos\WindowsFormsApp1\xNet-master\xNet\~Http\HttpResponse.cs:行号 847
在 xNet.HttpRequest.CloseConnectionIfNeeded() 位置 C:\Users\maste\source\repos\WindowsFormsApp1\xNet-master\xNet\~Http\HttpRequest.cs:行号 2317
在 xNet.HttpRequest.Request(HttpMethod method, Uri address, HttpContent content) 位置 C:\Users\maste\source\repos\WindowsFormsApp1\xNet-master\xNet\~Http\HttpRequest.cs:行号 2217
在 xNet.HttpRequest.Request(HttpMethod method, Uri address, HttpContent content) 位置 C:\Users\maste\source\repos\WindowsFormsApp1\xNet-master\xNet\~Http\HttpRequest.cs:行号 2298
在 xNet.HttpRequest.Raw(HttpMethod method, Uri address, HttpContent content) 位置 C:\Users\maste\source\repos\WindowsFormsApp1\xNet-master\xNet\~Http\HttpRequest.cs:行号 1538
在 xNet.HttpRequest.Raw(HttpMethod method, String address, HttpContent content) 位置 C:\Users\maste\source\repos\WindowsFormsApp1\xNet-master\xNet\~Http\HttpRequest.cs:行号 1490
在 xNet.HttpRequest.Get(String address, RequestParams urlParams) 位置 C:\Users\maste\source\repos\WindowsFormsApp1\xNet-master\xNet\~Http\HttpRequest.cs:行号 935
在 WindowsFormsApp1.Form1.button1_Click(Object sender, EventArgs e) 位置 C:\Users\maste\Desktop\WindowsFormsApp1\WindowsFormsApp1\Form1.cs:行号 29
出错trace