Oct 02, 2019 08:06 PM|zydjohn2019|LINK
I think you misunderstand my meaning. I show you the code, what I want is like this: using the HTTP1_Get_With_Compression(url1), I can get the real meaningful HTML content in ASCII code, so I can use Json to parse the result. But with HTTP1_Get_No_Compression(url1)
or HTTP2_Get_No_Compression(url1), what I get is the binary content, not in ASCII code. Therefore, I can't use Json to parse the result.
What I want to do is: if I can write another function: HTTP2_Get_With_Compression(url1) to get the meaningful HTML content in ASCII code, therefore, I can use Json to parse the text result. But on the second thought, I think .NET core 3 has the built-in
Josn support: System.Text.Json, if I can use System.Text.Json to parse the binary result returned by HTTP2 client GET request, it is also OK.
Hope you understand my meaning, I want to be able to parse the HTTP2 client returned result be it in binary or not, compressed or not.