[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stream error in framing layer
[Thread Prev] | [Thread Next]
- Subject: Re: Stream error in framing layer
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Mon, 5 Aug 2024 10:14:58 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 05/08/2024 à 04:58, BB a écrit :
On 4/8/24 4:51 am, Benoît Minisini wrote:Le 02/08/2024 à 14:18, BB a écrit :I use a JSON download via httpclient to retrieve some live data. Recently I have been getting a consistent failure with the heading "error". This error, according to the internet pundits is something to do with the server doing http2 badly.Their answer is to force curl (via httpclient) to use headers to force the server to reply in http1.1It seems that I need to set some header to use the value "CURL_HTTP_VERSION_1_1" somehow. I have not been able to work out how to this, so has anyone got any clues?tia bYou can specify the headers of your request with the 'Header' argument of the 'Get()' or 'Post()' method. Will it solve your problem?Well, it turns out it won't.
> ... Hi,In the last commit, I added a 'HttpClient.Version' property to define that CURL option, and the corresponding constants in the 'Net' class.
Uee it that way: MyHttpClient.Version = Net.HttpVersion11 Can you try it and tell me if it works for you? -- Benoît Minisini.
Re: Stream error in framing layer | BB <adamnt42@xxxxxxxxx> |
Stream error in framing layer | BB <adamnt42@xxxxxxxxx> |
Re: Stream error in framing layer | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: Stream error in framing layer | BB <adamnt42@xxxxxxxxx> |